1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 19:10:54 +00:00
This commit is contained in:
youngsterxyf 2016-01-23 02:32:09 +08:00
parent af346e871b
commit cbc7f43e88

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)