|
|
|
@ -12,6 +12,9 @@
|
|
|
|
|
<target name="file" xsi:type="File"
|
|
|
|
|
layout="${longdate} [${level}] ${logger}: ${message} ${exception:ToString}"
|
|
|
|
|
fileName="${basedir}/App_Data/logs/${shortdate}.txt" />
|
|
|
|
|
<target name ="xmlFile" xsi:type="File"
|
|
|
|
|
fileName="${basedir}/App_Data/logs/${shortdate}.xml"
|
|
|
|
|
layout="${log4jxmlevent:includeSourceInfo=true:includeCallSite=true:includeMDC=true:appInfo=true:includeNDC=true:includeNLogData=true}"/>
|
|
|
|
|
</targets>
|
|
|
|
|
|
|
|
|
|
<rules>
|
|
|
|
@ -19,6 +22,11 @@
|
|
|
|
|
<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="xmlFile">
|
|
|
|
|
<filters>
|
|
|
|
|
<when condition="logger == 'NzbDrone.SubSonic'" action="Ignore" />
|
|
|
|
|
</filters>
|
|
|
|
|
</logger>
|
|
|
|
|
<logger name="*" minlevel="Trace" writeTo="file">
|
|
|
|
|
<filters>
|
|
|
|
|
<when condition="logger == 'NzbDrone.SubSonic'" action="Ignore" />
|
|
|
|
|