mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Cleaned up Web.Config
This commit is contained in:
parent
ceda9312c7
commit
2708c75091
3 changed files with 3 additions and 18 deletions
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using NLog;
|
||||
using NLog.Config;
|
||||
using NLog.Targets;
|
||||
|
@ -43,7 +42,6 @@ namespace NzbDrone.Common
|
|||
if (LogManager.ThrowExceptions)
|
||||
throw;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static void RegisterUdpLogger()
|
||||
|
@ -97,10 +95,8 @@ namespace NzbDrone.Common
|
|||
|
||||
public static void Reload()
|
||||
{
|
||||
var sw = Stopwatch.StartNew();
|
||||
LogManager.Configuration.Reload();
|
||||
LogManager.ReconfigExistingLoggers();
|
||||
sw.Stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue