94c84b84 by astaxie

fix the init logger

1 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) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!