Skip to content

Commit bc6df18

Browse files
author
Gusted
authored
Use correct defaultValue for stracktrace (#17552)
1 parent a161c2c commit bc6df18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/setting/log.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func getLogLevel(section *ini.Section, key string, defaultValue log.Level) log.L
120120
}
121121

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

0 commit comments

Comments
 (0)