Use correct defaultValue for stracktrace (#17552)

pull/17555/head
Gusted 3 years ago committed by GitHub
parent a161c2ca58
commit bc6df18fb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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()
}

Loading…
Cancel
Save