Browse Source

Conform to new go-config default config behavior

pull/1842/head
Jae Kwon 9 years ago
parent
commit
84391b36d3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      log.go

+ 1
- 1
log.go View File

@ -43,7 +43,7 @@ func resetWithLogLevel(logLevel string) {
func Reset() { func Reset() {
var logLevel string = "debug" var logLevel string = "debug"
if config != nil {
if config != nil && config.IsSet("log_level") {
logLevel = config.GetString("log_level") logLevel = config.GetString("log_level")
} }


Loading…
Cancel
Save