add accounts log level

This commit is contained in:
Willy Kloucek authored and Jörn Friedrich Dreyer committed 2022-01-07 15:39:01 +00:00
1 parent 3b5a33590e
commit 7b61460fac
1 file changed
+4
+4
View File
@@ -16,6 +16,10 @@ func structMappings(cfg *Config) []shared.EnvBinding {
EnvVars: []string{"OCIS_LOG_FILE", "ACCOUNTS_LOG_FILE"},
Destination: &cfg.Log.File,
},
{
EnvVars: []string{"OCIS_LOG_LEVEL", "ACCOUNTS_LOG_LEVEL"},
Destination: &cfg.Log.Level,
},
{
EnvVars: []string{"OCIS_LOG_COLOR", "ACCOUNTS_LOG_COLOR"},
Destination: &cfg.Log.Color,