Conform to new go-config default config behavior
This commit is contained in:
parent
4901b71ade
commit
84391b36d3
2
log.go
2
log.go
|
@ -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…
Reference in New Issue