日志修复
This commit is contained in:
parent
71cac1cb38
commit
dff9671f74
@ -597,7 +597,7 @@ func (ad *GameLogic) CreateDailyLogFile() {
|
||||
if ad.Mlogger != nil {
|
||||
ad.Mlogger.Close()
|
||||
}
|
||||
ad.Mlogger, ad.MloggerErr = log.NewDailyLog(now, "Debug", "log", l.LstdFlags)
|
||||
ad.Mlogger, ad.MloggerErr = log.NewDailyLog(now, "Debug", conf.Server.LogPath, l.LstdFlags)
|
||||
if ad.MloggerErr != nil {
|
||||
log.Debug(ad.MloggerErr.Error())
|
||||
return
|
||||
|
||||
Loading…
Reference in New Issue
Block a user