💚 fix web replace

This commit is contained in:
Xhofe
2022-02-21 20:31:01 +08:00
parent 52ee2e0a8b
commit 641ca67671
3 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,7 @@ func InitLog() {
log.SetLevel(log.DebugLevel)
log.SetReportCaller(true)
}
if conf.Password {
if conf.Password || conf.Version {
log.SetLevel(log.WarnLevel)
}
log.SetFormatter(&log.TextFormatter{