mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 07:30:55 +00:00
fix issue #1601
This commit is contained in:
parent
af346e871b
commit
cbc7f43e88
3
beego.go
3
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)
|
||||
|
Loading…
Reference in New Issue
Block a user