mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-29 12:41:44 +00:00
Conform to new go-config default config behavior
This commit is contained in:
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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user