mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
Fixed Exceptioneer.
This commit is contained in:
parent
1ff34c8e38
commit
87cf08a365
2 changed files with 5 additions and 3 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue