Fixed: LogLevel not persisting on v0.2 > 3 migration

This commit is contained in:
Qstick 2020-08-03 16:55:26 -04:00
parent ec15885680
commit 97980fe139
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ namespace NzbDrone.Core.Configuration
// TODO: Change back to "master" for the first stable release.
public string Branch => GetValue("Branch", "aphrodite").ToLowerInvariant();
public string LogLevel => GetValue("LogLevel", "info");
public string LogLevel => GetValue("LogLevel", "info").ToLowerInvariant();
public string ConsoleLogLevel => GetValue("ConsoleLogLevel", string.Empty, persist: false);
public bool LogSql => GetValueBoolean("LogSql", false, persist: false);
public int LogRotate => GetValueInt("LogRotate", 50, persist: false);