This commit is contained in:
youngsterxyf 2016-01-23 02:32:09 +08:00
parent af346e871b
commit cbc7f43e88
1 changed files with 3 additions and 0 deletions

View File

@ -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)