summaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
authorlunnyxiao <xiaolunwen@gmail.com>2014-09-08 12:11:25 +0800
committerlunnyxiao <xiaolunwen@gmail.com>2014-09-08 12:11:25 +0800
commitd84d6dfdae93518936b33290e5cc9adeef876524 (patch)
tree283394bfb7f9a6de850939f3858f605aff897b5b /models/models.go
parentd89e630bc0cfb228db632c8b3f369f7dbd80bd02 (diff)
downloadgitea-d84d6dfdae93518936b33290e5cc9adeef876524.tar.gz
gitea-d84d6dfdae93518936b33290e5cc9adeef876524.zip
add showinfo for xorm
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index 5558ec0062..247bcf2f65 100644
--- a/models/models.go
+++ b/models/models.go
@@ -111,6 +111,7 @@ func SetEngine() (err error) {
x.Logger = xorm.NewSimpleLogger(f)
x.ShowSQL = true
+ x.ShowInfo = true
x.ShowDebug = true
x.ShowErr = true
x.ShowWarn = true