1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 10:18:38 +00:00
This commit is contained in:
Unknown
2014-04-21 02:24:35 -04:00
parent 006c45e21d
commit ea29a9b846
4 changed files with 26 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ func SetEngine() (err error) {
if err != nil {
return fmt.Errorf("models.init(fail to create xorm.log): %v", err)
}
orm.Logger = f
orm.Logger = xorm.NewSimpleLogger(f)
orm.ShowSQL = true
orm.ShowDebug = true