From cbc7f43e88984a145d7ba85ff2ab7fb0dfc9e6e9 Mon Sep 17 00:00:00 2001 From: youngsterxyf Date: Sat, 23 Jan 2016 02:32:09 +0800 Subject: [PATCH] fix issue #1601 --- beego.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/beego.go b/beego.go index 04f02071..7aa6b221 100644 --- a/beego.go +++ b/beego.go @@ -69,10 +69,13 @@ func Run(params ...string) { func initBeforeHTTPRun() { // if AppConfigPath is setted or conf/app.conf exist + /* err := ParseConfig() if err != nil { panic(err) } + */ + var err error //init log for adaptor, config := range BConfig.Log.Outputs { err = BeeLogger.SetLogger(adaptor, config)