Allow overriding the log level in debug mode.

This commit is contained in:
Timo Reimann 2018-03-21 14:42:07 +01:00 committed by Traefiker Bot
parent 329c576f44
commit af7c9b520f
7 changed files with 15 additions and 14 deletions

View file

@ -234,10 +234,6 @@ func (gc *GlobalConfiguration) SetEffectiveConfiguration(configFile string) {
gc.API.Debug = gc.Debug
}
if gc.Debug {
gc.LogLevel = "DEBUG"
}
if gc.Web != nil && (gc.Web.Path == "" || !strings.HasSuffix(gc.Web.Path, "/")) {
gc.Web.Path += "/"
}