aboutsummaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/models/models.go b/models/models.go
index 2249fee41b..2e91f71690 100644
--- a/models/models.go
+++ b/models/models.go
@@ -191,12 +191,7 @@ func SetEngine() (err error) {
return fmt.Errorf("Fail to create xorm.log: %v", err)
}
x.SetLogger(xorm.NewSimpleLogger(f))
-
- x.ShowSQL = true
- x.ShowInfo = true
- x.ShowDebug = true
- x.ShowErr = true
- x.ShowWarn = true
+ x.ShowSQL(true)
return nil
}