mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
wiredup db logging.
This commit is contained in:
parent
1016edb05b
commit
af4063c3e2
6 changed files with 31 additions and 6 deletions
|
@ -7,6 +7,7 @@ namespace NzbDrone.Common
|
|||
{
|
||||
private static readonly string APP_CONFIG_FILE = "config.xml";
|
||||
private static readonly string NZBDRONE_DB = "nzbdrone.db";
|
||||
private static readonly string NZBDRONE_LOG_DB = "logs.db";
|
||||
private static readonly string BACKUP_ZIP_FILE = "NzbDrone_Backup.zip";
|
||||
|
||||
private static readonly string UPDATE_SANDBOX_FOLDER_NAME = "nzbdrone_update" + Path.DirectorySeparatorChar;
|
||||
|
@ -113,5 +114,10 @@ namespace NzbDrone.Common
|
|||
{
|
||||
return Path.Combine(environmentProvider.GetAppDataPath(), NZBDRONE_DB);
|
||||
}
|
||||
|
||||
public static string GetLogDatabase(this IEnvironmentProvider environmentProvider)
|
||||
{
|
||||
return Path.Combine(environmentProvider.GetAppDataPath(), NZBDRONE_LOG_DB);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue