mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 02:08:36 +00:00
Prepare for 0.2.0 release
This commit is contained in:
2
serve.go
2
serve.go
@@ -47,7 +47,7 @@ func newLogger(execDir string) {
|
||||
level := "0"
|
||||
logPath := execDir + "/log/serv.log"
|
||||
os.MkdirAll(path.Dir(logPath), os.ModePerm)
|
||||
log.NewLogger(10000, "file", fmt.Sprintf(`{"level":%s,"filename":"%s"}`, level, logPath))
|
||||
log.NewLogger(0, "file", fmt.Sprintf(`{"level":%s,"filename":"%s"}`, level, logPath))
|
||||
log.Trace("start logging...")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user