1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-11 06:01:02 +00:00

merge multi commit

This commit is contained in:
youngsterxyf
2016-02-02 17:12:47 +08:00
parent c71ac7431d
commit 2efe7c4c89
2 changed files with 55 additions and 24 deletions

View File

@ -15,11 +15,11 @@
package beego
import (
"fmt"
"html/template"
"os"
"path/filepath"
"strings"
"fmt"
"github.com/astaxie/beego/config"
"github.com/astaxie/beego/session"
@ -299,7 +299,7 @@ func parseConfig(appConfigPath string) (err error) {
}
//init log
BeeLogger.Close()
BeeLogger.Reset()
for adaptor, config := range BConfig.Log.Outputs {
err = BeeLogger.SetLogger(adaptor, config)
if err != nil {