mirror of
https://gitee.com/johng/gf
synced 2026-07-09 06:50:30 +08:00
修复ghttp.Server日志路径丢失问题
This commit is contained in:
@ -20,6 +20,7 @@ func (s *Server)SetLogPath(path string) {
|
||||
return
|
||||
}
|
||||
s.config.LogPath = path
|
||||
s.logger.SetPath(path)
|
||||
}
|
||||
|
||||
// 设置是否开启access log日志功能
|
||||
|
||||
Reference in New Issue
Block a user