Skip to content

Commit 0d0ff5e

Browse files
author
Gusted
authored
backport(1.15): Use correct defaultValue for stracktrace (#17557)
- Backporting #17552
1 parent f25f7c5 commit 0d0ff5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/setting/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func getLogLevel(section *ini.Section, key string, defaultValue log.Level) log.L
121121
}
122122

123123
func getStacktraceLogLevel(section *ini.Section, key string, defaultValue string) string {
124-
value := section.Key(key).MustString("none")
124+
value := section.Key(key).MustString(defaultValue)
125125
return log.FromString(value).String()
126126
}
127127

0 commit comments

Comments
 (0)