diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-21 02:24:35 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-21 02:24:35 -0400 |
commit | ea29a9b84631b03ee2f60ffa85fd9e402ceaf8a4 (patch) | |
tree | 5b6b3e18cc2346a194067f5243a9cf066c3decec /models/models.go | |
parent | 006c45e21d5f37c5bcfb92ead1110272dee0d88d (diff) | |
download | gitea-ea29a9b84631b03ee2f60ffa85fd9e402ceaf8a4.tar.gz gitea-ea29a9b84631b03ee2f60ffa85fd9e402ceaf8a4.zip |
API fix
Diffstat (limited to 'models/models.go')
-rw-r--r-- | models/models.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/models.go b/models/models.go index 1eb418bac7..216084f1b8 100644 --- a/models/models.go +++ b/models/models.go @@ -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 |