wiredup db logging.

This commit is contained in:
kay.one 2013-05-20 20:20:29 -07:00
commit af4063c3e2
6 changed files with 31 additions and 6 deletions

View file

@ -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);
}
}
}