forked from Ivasoft/traefik
log.loglevel becomes log.level in configuration
This commit is contained in:
committed by
Traefiker Bot
parent
e6bdfa1d29
commit
bb8a193244
@@ -317,7 +317,7 @@ func configureLogging(staticConfiguration *static.Configuration) {
|
||||
// otherwise.
|
||||
var levelStr string
|
||||
if staticConfiguration.Log != nil {
|
||||
levelStr = strings.ToLower(staticConfiguration.Log.LogLevel)
|
||||
levelStr = strings.ToLower(staticConfiguration.Log.Level)
|
||||
}
|
||||
if levelStr == "" {
|
||||
levelStr = "error"
|
||||
|
||||
Reference in New Issue
Block a user