mirror of
https://gitee.com/gitea/gitea
synced 2025-12-01 05:40:28 +08:00
API fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user