mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-22 15:53:23 +00:00
26 lines
No EOL
1.2 KiB
Text
26 lines
No EOL
1.2 KiB
Text
<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="${logger}: ${message}" />
|
|
<target name="debugTarget" xsi:type="Debugger" layout="${logger}: ${message}" />
|
|
<target name="udpTarget" xsi:type="Chainsaw" address="udp://127.0.0.1:7777"
|
|
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="IIS*" minlevel="Trace" writeTo="consoleTarget"/>
|
|
<logger name="Application" minlevel="Trace" writeTo="consoleTarget"/>
|
|
<logger name="*" minlevel="Trace" writeTo="udpTarget"/>
|
|
<!--<logger name="*" minlevel="Off" writeTo="debugTarget"/>-->
|
|
|
|
|
|
</rules>
|
|
</nlog> |