summaryrefslogtreecommitdiffstats
path: root/modules/setting/log.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/log.go')
-rw-r--r--modules/setting/log.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/setting/log.go b/modules/setting/log.go
index cd2c5cc8c1..43a28309d2 100644
--- a/modules/setting/log.go
+++ b/modules/setting/log.go
@@ -295,8 +295,5 @@ func NewXORMLogService(disableConsole bool) {
Cfg.Section("log").Key("XORM").MustString(",")
generateNamedLogger("xorm", options)
- log.InitXORMLogger(LogSQL)
- } else {
- log.InitXORMLogger(false)
}
}