Commit cbc7f43e authored by youngsterxyf's avatar youngsterxyf

fix issue #1601

parent af346e87
...@@ -69,10 +69,13 @@ func Run(params ...string) { ...@@ -69,10 +69,13 @@ func Run(params ...string) {
func initBeforeHTTPRun() { func initBeforeHTTPRun() {
// if AppConfigPath is setted or conf/app.conf exist // if AppConfigPath is setted or conf/app.conf exist
/*
err := ParseConfig() err := ParseConfig()
if err != nil { if err != nil {
panic(err) panic(err)
} }
*/
var err error
//init log //init log
for adaptor, config := range BConfig.Log.Outputs { for adaptor, config := range BConfig.Log.Outputs {
err = BeeLogger.SetLogger(adaptor, config) err = BeeLogger.SetLogger(adaptor, config)
......
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