Compare commits
1 Commits
04580e4672
...
d501864585
Author | SHA1 | Date |
---|---|---|
Evan Chen | d501864585 |
|
@ -154,9 +154,6 @@ func (cui *ConfigUI) LoadConfig(confstr string) error {
|
|||
cui.ResultBellow = tmpConf.ResultBellow
|
||||
|
||||
cui.LogLevel = tmpConf.LogLevel
|
||||
if cui.LogLevel == 0 {
|
||||
cui.LogLevel = klog.Lerror | klog.Linfo
|
||||
}
|
||||
klog.LEVEL = cui.LogLevel
|
||||
cui.LogPath = tmpConf.LogPath
|
||||
cui.setLog()
|
||||
|
|
Loading…
Reference in New Issue