add accounts log level

This commit is contained in:
Willy Kloucek
2021-12-16 10:56:28 +01:00
parent 6206fe2398
commit af6cbdaf28

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,