aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting/log.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/log.go')
-rw-r--r--modules/setting/log.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/log.go b/modules/setting/log.go
index ecf0711484..4114ea99cb 100644
--- a/modules/setting/log.go
+++ b/modules/setting/log.go
@@ -120,7 +120,7 @@ func getLogLevel(section *ini.Section, key string, defaultValue log.Level) log.L
}
func getStacktraceLogLevel(section *ini.Section, key string, defaultValue string) string {
- value := section.Key(key).MustString("none")
+ value := section.Key(key).MustString(defaultValue)
return log.FromString(value).String()
}