|
|
@ -55,6 +55,7 @@ namespace NzbDrone.Core.Configuration
|
|
|
|
string SyslogServer { get; }
|
|
|
|
string SyslogServer { get; }
|
|
|
|
int SyslogPort { get; }
|
|
|
|
int SyslogPort { get; }
|
|
|
|
string SyslogLevel { get; }
|
|
|
|
string SyslogLevel { get; }
|
|
|
|
|
|
|
|
bool LogDbEnabled { get; }
|
|
|
|
string PostgresHost { get; }
|
|
|
|
string PostgresHost { get; }
|
|
|
|
int PostgresPort { get; }
|
|
|
|
int PostgresPort { get; }
|
|
|
|
string PostgresUser { get; }
|
|
|
|
string PostgresUser { get; }
|
|
|
@ -229,6 +230,7 @@ namespace NzbDrone.Core.Configuration
|
|
|
|
public string PostgresMainDb => _postgresOptions?.MainDb ?? GetValue("PostgresMainDb", "radarr-main", persist: false);
|
|
|
|
public string PostgresMainDb => _postgresOptions?.MainDb ?? GetValue("PostgresMainDb", "radarr-main", persist: false);
|
|
|
|
public string PostgresLogDb => _postgresOptions?.LogDb ?? GetValue("PostgresLogDb", "radarr-log", persist: false);
|
|
|
|
public string PostgresLogDb => _postgresOptions?.LogDb ?? GetValue("PostgresLogDb", "radarr-log", persist: false);
|
|
|
|
public int PostgresPort => (_postgresOptions?.Port ?? 0) != 0 ? _postgresOptions.Port : GetValueInt("PostgresPort", 5432, persist: false);
|
|
|
|
public int PostgresPort => (_postgresOptions?.Port ?? 0) != 0 ? _postgresOptions.Port : GetValueInt("PostgresPort", 5432, persist: false);
|
|
|
|
|
|
|
|
public bool LogDbEnabled => _logOptions.DbEnabled ?? GetValueBoolean("LogDbEnabled", true, persist: false);
|
|
|
|
public bool LogSql => _logOptions.Sql ?? GetValueBoolean("LogSql", false, persist: false);
|
|
|
|
public bool LogSql => _logOptions.Sql ?? GetValueBoolean("LogSql", false, persist: false);
|
|
|
|
public int LogRotate => _logOptions.Rotate ?? GetValueInt("LogRotate", 50, persist: false);
|
|
|
|
public int LogRotate => _logOptions.Rotate ?? GetValueInt("LogRotate", 50, persist: false);
|
|
|
|
public bool FilterSentryEvents => _logOptions.FilterSentryEvents ?? GetValueBoolean("FilterSentryEvents", true, persist: false);
|
|
|
|
public bool FilterSentryEvents => _logOptions.FilterSentryEvents ?? GetValueBoolean("FilterSentryEvents", true, persist: false);
|
|
|
|