From 97980fe139d3bf439eeb2652c8c6729c75a4f2d9 Mon Sep 17 00:00:00 2001 From: Qstick Date: Mon, 3 Aug 2020 16:55:26 -0400 Subject: [PATCH] Fixed: LogLevel not persisting on v0.2 > 3 migration --- src/NzbDrone.Core/Configuration/ConfigFileProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Configuration/ConfigFileProvider.cs b/src/NzbDrone.Core/Configuration/ConfigFileProvider.cs index 56489e5a2..39eebfa16 100644 --- a/src/NzbDrone.Core/Configuration/ConfigFileProvider.cs +++ b/src/NzbDrone.Core/Configuration/ConfigFileProvider.cs @@ -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);