diff --git a/log.go b/log.go index ac04b2032..4cf854b38 100644 --- a/log.go +++ b/log.go @@ -43,7 +43,7 @@ func resetWithLogLevel(logLevel string) { func Reset() { var logLevel string = "debug" - if config != nil { + if config != nil && config.IsSet("log_level") { logLevel = config.GetString("log_level") }