1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-03 08:07:24 -05:00

fix dependency broken because xorm's API changed

This commit is contained in:
Lunny Xiao 2016-02-16 22:35:08 +08:00
parent 9cf4fe043b
commit 779b71eda4

View File

@ -191,12 +191,7 @@ func SetEngine() (err error) {
return fmt.Errorf("Fail to create xorm.log: %v", err) return fmt.Errorf("Fail to create xorm.log: %v", err)
} }
x.SetLogger(xorm.NewSimpleLogger(f)) x.SetLogger(xorm.NewSimpleLogger(f))
x.ShowSQL(true)
x.ShowSQL = true
x.ShowInfo = true
x.ShowDebug = true
x.ShowErr = true
x.ShowWarn = true
return nil return nil
} }