1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/NzbDrone.Update/NLog.config

17 lines
964 B
Plaintext
Raw Normal View History

2013-02-28 09:59:08 +03:00
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2013-05-20 03:30:02 +03:00
<extensions>
<add assembly="NzbDrone.Common"/>
</extensions>
2013-02-28 09:59:08 +03:00
<targets>
<target xsi:type="ColoredConsole" name="consoleLogger" layout="[${level}] ${logger}: ${message} ${onexception:inner=${newline}${newline}${exception:format=ToString}${newline}}"/>
2013-05-20 03:30:02 +03:00
<target xsi:type="File" name="fileLogger" fileName="${updateLog}" autoFlush="true" keepFileOpen="false"
concurrentWrites="false" concurrentWriteAttemptDelay="50" concurrentWriteAttempts ="10"
layout="${date:format=yy-M-d HH\:mm\:ss.f}|${level}|${logger}|${message}${onexception:inner=${newline}${newline}${exception:format=ToString}${newline}}"/>
2013-02-28 09:59:08 +03:00
</targets>
<rules>
<logger name="*" minlevel="Debug" writeTo="consoleLogger"/>
2013-04-16 07:52:41 +03:00
<logger name="*" minlevel="Trace" writeTo="fileLogger"/>
2013-02-28 09:59:08 +03:00
</rules>
</nlog>