mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-01 08:22:35 +01:00
16 lines
1.0 KiB
Plaintext
16 lines
1.0 KiB
Plaintext
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" autoReload="true">
|
|
<targets>
|
|
<target name="consoleTarget" xsi:type="ColoredConsole" layout="[${level}] ${logger}: ${message} ${exception:ToString}" />
|
|
<target name="udpTarget" xsi:type="Chainsaw" address="udp://127.0.0.1:20480"
|
|
includeCallSite="true" includeSourceInfo="true" includeNLogData="true" includeNDC="true" includeMDC="true">
|
|
<parameter name="exception" layout="${exception:format=ToString}" xsi:type="NLogViewerParameterInfo" />
|
|
<parameter name="processname" layout="${processname}" xsi:type="NLogViewerParameterInfo" />
|
|
<parameter name="stacktrace" layout="${stacktrace:topFrames=99}" xsi:type="NLogViewerParameterInfo" />
|
|
<parameter name="ThreadName" layout="${threadname}" xsi:type="NLogViewerParameterInfo" />
|
|
</target>
|
|
</targets>
|
|
<rules>
|
|
<logger name="*" minlevel="Trace" writeTo="consoleTarget"/>
|
|
<logger name="*" minlevel="Trace" writeTo="udpTarget"/>
|
|
</rules>
|
|
</nlog> |