diff --git a/NzbDrone.Core/Instrumentation/LogConfiguration.cs b/NzbDrone.Core/Instrumentation/LogConfiguration.cs index 4e93694c2..ec398ed5f 100644 --- a/NzbDrone.Core/Instrumentation/LogConfiguration.cs +++ b/NzbDrone.Core/Instrumentation/LogConfiguration.cs @@ -23,8 +23,8 @@ namespace NzbDrone.Core.Instrumentation public static void StartDbLogging() { - -#if RELEASE +#if DEBUG +#else var exTarget = new ExceptioneerTarget(); LogManager.Configuration.AddTarget("Exceptioneer", exTarget); LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", NLog.LogLevel.Error, exTarget)); diff --git a/NzbDrone/Providers/MonitoringProvider.cs b/NzbDrone/Providers/MonitoringProvider.cs index 55c80d0af..0fa5a1562 100644 --- a/NzbDrone/Providers/MonitoringProvider.cs +++ b/NzbDrone/Providers/MonitoringProvider.cs @@ -2,6 +2,7 @@ using System.Diagnostics; using System.Runtime.Remoting; using System.Timers; +using Exceptioneer.WindowsFormsClient; using NLog; using Ninject; @@ -106,7 +107,8 @@ namespace NzbDrone.Providers Console.WriteLine("EPIC FAIL: {0}", excepion); Logger.Fatal("EPIC FAIL: {0}", excepion); -#if RELEASE +#if DEBUG +#else new Client { ApiKey = "43BBF60A-EB2A-4C1C-B09E-422ADF637265",