Compare commits

..

1 Commits

Author SHA1 Message Date
Evan Chen d501864585 fix: log level and log prod not affected 2021-11-04 03:45:06 +08:00
1 changed files with 0 additions and 3 deletions

View File

@ -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()