added file logging to services.

This commit is contained in:
kay.one 2012-02-05 08:53:08 -08:00
parent ad9a7fa6e4
commit 1d1c62d376
12 changed files with 100 additions and 28 deletions

View file

@ -10,9 +10,9 @@ namespace NzbDrone.Common
{
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
private const string SERVICE_URL = "http://service.nzbdrone.com/reporting";
private const string PARSE_URL = SERVICE_URL + "/parser";
private const string EXCEPTION_URL = SERVICE_URL + "/exception";
private const string SERVICE_URL = "http://services.nzbdrone.com/reporting";
private const string PARSE_URL = SERVICE_URL + "/ParseError";
private const string EXCEPTION_URL = SERVICE_URL + "/ReportException";
public static RestProvider RestProvider { get; set; }
private static readonly HashSet<string> parserErrorCache = new HashSet<string>();