1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-04 16:20:18 +00:00

admin configure

This commit is contained in:
astaxie
2016-01-08 01:40:19 +08:00
parent 9167587929
commit 01012fa898
3 changed files with 57 additions and 4 deletions

View File

@ -74,7 +74,7 @@ func initBeforeHTTPRun() {
panic(err)
}
//init log
for adaptor, config := range BConfig.Log.Output {
for adaptor, config := range BConfig.Log.Outputs {
err = BeeLogger.SetLogger(adaptor, config)
if err != nil {
fmt.Printf("%s with the config `%s` got err:%s\n", adaptor, config, err)