1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-20 21:54:58 -04:00

Added Console log level option in configfile, which defaults to Info.

This commit is contained in:
Taloth Saldono
2019-01-20 16:02:30 +01:00
parent 8aecec507e
commit 095234babc
2 changed files with 11 additions and 1 deletions
@@ -33,6 +33,7 @@ namespace NzbDrone.Core.Configuration
AuthenticationType AuthenticationMethod { get; }
bool AnalyticsEnabled { get; }
string LogLevel { get; }
string ConsoleLogLevel { get; }
string Branch { get; }
string ApiKey { get; }
string SslCertHash { get; }
@@ -179,6 +180,7 @@ namespace NzbDrone.Core.Configuration
public string Branch => GetValue("Branch", "master").ToLowerInvariant();
public string LogLevel => GetValue("LogLevel", "Info");
public string ConsoleLogLevel => GetValue("ConsoleLogLevel", null, persist: false);
public string SslCertHash => GetValue("SslCertHash", "");