Conform to new go-config default config behavior

This commit is contained in:
Jae Kwon 2016-03-06 12:31:22 -08:00
parent 4901b71ade
commit 84391b36d3
1 changed files with 1 additions and 1 deletions

2
log.go
View File

@ -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")
}