diff --git a/pkg/shared/shared_types.go b/pkg/shared/shared_types.go index bac1a5098..125f9d78f 100644 --- a/pkg/shared/shared_types.go +++ b/pkg/shared/shared_types.go @@ -12,7 +12,7 @@ type EnvBinding struct { // Log defines the available logging configuration. type Log struct { - Level string `yaml:"loglevel" env:"OC_LOG_LEVEL" desc:"The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'." introductionVersion:"1.0.0"` + Level string `yaml:"level" env:"OC_LOG_LEVEL" desc:"The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'." introductionVersion:"1.0.0"` Pretty bool `yaml:"pretty" env:"OC_LOG_PRETTY" desc:"Activates pretty log output." introductionVersion:"1.0.0"` Color bool `yaml:"color" env:"OC_LOG_COLOR" desc:"Activates colorized log output." introductionVersion:"1.0.0"` File string `yaml:"file" env:"OC_LOG_FILE" desc:"The path to the log file. Activates logging to this file if set." introductionVersion:"1.0.0"`