1
0
Fork 0

log.loglevel becomes log.level in configuration

This commit is contained in:
Julien Salleyron 2019-04-16 15:30:09 +02:00 committed by Traefiker Bot
parent e6bdfa1d29
commit bb8a193244
72 changed files with 78 additions and 78 deletions

View file

@ -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"