summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-07 11:33:04 -0500
committerUnknwon <u@gogs.io>2015-12-07 11:33:04 -0500
commit4e0c697aaf29ce6911b9e6ade36c50f619363adc (patch)
tree3de6de0d6e520ab5724e38d26aecd50b72734dea /modules
parent3ffbb54337036f34dc62d20a78b109b2ac9790a5 (diff)
downloadgitea-4e0c697aaf29ce6911b9e6ade36c50f619363adc.tar.gz
gitea-4e0c697aaf29ce6911b9e6ade36c50f619363adc.zip
force new INI version
Diffstat (limited to 'modules')
-rw-r--r--modules/log/log.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/log/log.go b/modules/log/log.go
index c1db6c6cdb..a17c912f31 100644
--- a/modules/log/log.go
+++ b/modules/log/log.go
@@ -33,7 +33,7 @@ func NewLogger(bufLen int64, mode, config string) {
loggers = append(loggers, logger)
}
if err := logger.SetLogger(mode, config); err != nil {
- Fatal(1, "Fail to set logger(%s): %v", mode, err)
+ Fatal(2, "Fail to set logger (%s): %v", mode, err)
}
}