Commit 94c84b84 authored by astaxie's avatar astaxie

fix the init logger

parent db43892f
......@@ -277,7 +277,7 @@ func init() {
if err != nil {
fmt.Println("init console log error:", err)
}
BeeLogger.SetLogFuncCallDepth(true)
SetLogFuncCall(true)
err = ParseConfig()
if err != nil && !os.IsNotExist(err) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment