mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 17:59:14 +00:00
17 lines
No EOL
964 B
XML
17 lines
No EOL
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> |