|
|
|
@ -8,6 +8,7 @@
|
|
|
|
|
<parameter name="stacktrace" layout="${stacktrace:topFrames=99}" xsi:type="NLogViewerParameterInfo" />
|
|
|
|
|
<parameter name="ThreadName" layout="${threadname}" xsi:type="NLogViewerParameterInfo" />
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
<target name="file" xsi:type="File" keepFileOpen="true" openFileCacheTimeout="1"
|
|
|
|
|
layout="${longdate} [${level}] ${logger}: ${message} ${exception:ToString}"
|
|
|
|
|
fileName="${basedir}/App_Data/logs/${shortdate}.txt" />
|
|
|
|
@ -21,8 +22,8 @@
|
|
|
|
|
<logger name="NzbDrone.Web.MvcApplication" minlevel="Trace" writeTo="consoleTarget"/>
|
|
|
|
|
<logger name="NzbDrone.Core.CentralDispatch" minlevel="Trace" writeTo="consoleTarget"/>
|
|
|
|
|
<logger name="Application" minlevel="Trace" writeTo="consoleTarget"/>
|
|
|
|
|
<logger name="*" minlevel="Off" writeTo="udpTarget"/>
|
|
|
|
|
<logger name="*" minlevel="Debug" writeTo="udpTarget"/>
|
|
|
|
|
<logger name="*" minlevel="Off" writeTo="xmlFile"/>
|
|
|
|
|
<logger name="*" minlevel="Warn" writeTo="file"/>
|
|
|
|
|
<logger name="*" minlevel="Off" writeTo="file"/>
|
|
|
|
|
</rules>
|
|
|
|
|
</nlog>
|