mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-01 00:12:30 +01:00
17 lines
964 B
XML
17 lines
964 B
XML
<?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">
|
|
<extensions>
|
|
<add assembly="NzbDrone.Common"/>
|
|
</extensions>
|
|
<targets>
|
|
<target xsi:type="ColoredConsole" name="consoleLogger" layout="[${level}] ${logger}: ${message} ${onexception:inner=${newline}${newline}${exception:format=ToString}${newline}}"/>
|
|
<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}}"/>
|
|
</targets>
|
|
<rules>
|
|
<logger name="*" minlevel="Debug" writeTo="consoleLogger"/>
|
|
<logger name="*" minlevel="Trace" writeTo="fileLogger"/>
|
|
</rules>
|
|
</nlog> |