diff --git a/NzbDrone.Common/LogConfiguration.cs b/NzbDrone.Common/LogConfiguration.cs index f239296118..705c35f5b5 100644 --- a/NzbDrone.Common/LogConfiguration.cs +++ b/NzbDrone.Common/LogConfiguration.cs @@ -90,8 +90,6 @@ public static void Reload() LogManager.Configuration.Reload(); LogManager.ReconfigExistingLoggers(); sw.Stop(); - - Console.WriteLine("Reload: " + sw.Elapsed.TotalSeconds); } } } diff --git a/NzbDrone.Core/CentralDispatch.cs b/NzbDrone.Core/CentralDispatch.cs index a3336f85e6..1d8e7d0a21 100644 --- a/NzbDrone.Core/CentralDispatch.cs +++ b/NzbDrone.Core/CentralDispatch.cs @@ -137,7 +137,7 @@ public void DedicateToHost() } catch (Exception e) { - Logger.Fatal(e); + Logger.FatalException("An error has occurred while dedicating to host.", e); } } diff --git a/NzbDrone.Update/Program.cs b/NzbDrone.Update/Program.cs index ecb1830ca9..6816547ecf 100644 --- a/NzbDrone.Update/Program.cs +++ b/NzbDrone.Update/Program.cs @@ -43,7 +43,7 @@ public static void Main(string[] args) } catch (Exception e) { - logger.Fatal("An error has occurred while applying update.", e); + logger.FatalException("An error has occurred while applying update package.", e); } } diff --git a/NzbDrone.Update/Providers/UpdateProvider.cs b/NzbDrone.Update/Providers/UpdateProvider.cs index 275419e0ec..004eab5758 100644 --- a/NzbDrone.Update/Providers/UpdateProvider.cs +++ b/NzbDrone.Update/Providers/UpdateProvider.cs @@ -78,7 +78,7 @@ public virtual void Start(string targetFolder) catch (Exception e) { RollBack(targetFolder); - logger.Fatal("Failed to copy upgrade package to target folder.", e); + logger.FatalException("Failed to copy upgrade package to target folder.", e); } finally { diff --git a/NzbDrone/Providers/MonitoringProvider.cs b/NzbDrone/Providers/MonitoringProvider.cs index 88ff9e8874..f28f442300 100644 --- a/NzbDrone/Providers/MonitoringProvider.cs +++ b/NzbDrone/Providers/MonitoringProvider.cs @@ -117,7 +117,7 @@ public static void AppDomainException(Exception excepion) }.Submit(); } - Logger.Fatal("EPIC FAIL: {0}", excepion); + Logger.FatalException("EPIC FAIL: {0}", excepion); } } } \ No newline at end of file