This commit is contained in:
ginuerzh
2022-08-19 22:29:07 +08:00
parent 5603af2fcf
commit fb5f57fa80
4 changed files with 5 additions and 3 deletions

View File

@ -118,7 +118,7 @@ func logFromConfig(cfg *config.LogConfig) logger.Logger {
default:
f, err := os.OpenFile(cfg.Output, os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0666)
if err != nil {
log.Warnf("log", err)
log.Warn(err)
} else {
out = f
}

View File

@ -1,5 +1,5 @@
package main
const (
version = "3.0.0-beta.3"
version = "3.0.0-beta.4"
)