Prepare for 0.2.0 release
This commit is contained in:
parent
dd9fb807a4
commit
76c64b43cb
3 changed files with 12 additions and 6 deletions
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...")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue