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