New: Instance Name used for Syslog

This commit is contained in:
Robin Dadswell
2022-05-12 17:10:27 +01:00
committed by Qstick
parent 9d5d92b74c
commit fc55aa4bd8
2 changed files with 4 additions and 3 deletions

View File

@@ -234,7 +234,7 @@ namespace NzbDrone.Core.Configuration
public int SyslogPort => GetValueInt("SyslogPort", 514, persist: false);
public string SyslogLevel => GetValue("SyslogLevel", LogLevel).ToLowerInvariant();
public string SyslogLevel => GetValue("SyslogLevel", LogLevel, false).ToLowerInvariant();
public int GetValueInt(string key, int defaultValue, bool persist = true)
{