1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-11 20:12:41 +02:00

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

View File

@ -180,7 +180,7 @@ public AuthenticationType AuthenticationMethod
// TODO: Change back to "master" for the first stable release. // TODO: Change back to "master" for the first stable release.
public string Branch => GetValue("Branch", "aphrodite").ToLowerInvariant(); 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 string ConsoleLogLevel => GetValue("ConsoleLogLevel", string.Empty, persist: false);
public bool LogSql => GetValueBoolean("LogSql", false, persist: false); public bool LogSql => GetValueBoolean("LogSql", false, persist: false);
public int LogRotate => GetValueInt("LogRotate", 50, persist: false); public int LogRotate => GetValueInt("LogRotate", 50, persist: false);