diff --git a/log.go b/log.go index ac04b203..4cf854b3 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") }