]> source.dussan.org Git - gitea.git/commitdiff
add showinfo for xorm
authorlunnyxiao <xiaolunwen@gmail.com>
Mon, 8 Sep 2014 04:11:25 +0000 (12:11 +0800)
committerlunnyxiao <xiaolunwen@gmail.com>
Mon, 8 Sep 2014 04:11:25 +0000 (12:11 +0800)
models/models.go

index 5558ec0062392d52f73504416a6305840ae1b762..247bcf2f6514c130a3de815cfc0feaef116a4903 100644 (file)
@@ -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