mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
Added log to disk. preparation for some test runs.
This commit is contained in:
parent
8a53e5fe72
commit
8bae3c1c66
@ -34,7 +34,7 @@
|
|||||||
.Columns(columns =>
|
.Columns(columns =>
|
||||||
{
|
{
|
||||||
columns.Bound(c => c.Time).Title("Time").Width(190);
|
columns.Bound(c => c.Time).Title("Time").Width(190);
|
||||||
columns.Bound(c => c.DisplayLevel).Title("Level").Width(0);
|
columns.Bound(c => c.Level).Title("Level").Width(0);
|
||||||
columns.Bound(c => c.Message);
|
columns.Bound(c => c.Message);
|
||||||
})
|
})
|
||||||
.DetailView(detailView => detailView.ClientTemplate(
|
.DetailView(detailView => detailView.ClientTemplate(
|
||||||
|
@ -9,18 +9,22 @@
|
|||||||
<parameter name="stacktrace" layout="${stacktrace:topFrames=99}" xsi:type="NLogViewerParameterInfo" />
|
<parameter name="stacktrace" layout="${stacktrace:topFrames=99}" xsi:type="NLogViewerParameterInfo" />
|
||||||
<parameter name="ThreadName" layout="${threadname}" xsi:type="NLogViewerParameterInfo" />
|
<parameter name="ThreadName" layout="${threadname}" xsi:type="NLogViewerParameterInfo" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="file" xsi:type="File"
|
||||||
|
layout="${longdate} [${level}] ${logger}: ${message} ${exception:ToString}"
|
||||||
|
fileName="${basedir}/App_Data/logs/${shortdate}.txt" />
|
||||||
</targets>
|
</targets>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<rules>
|
<rules>
|
||||||
|
|
||||||
<logger name="IIS*" minlevel="Trace" writeTo="consoleTarget"/>
|
<logger name="IIS*" minlevel="Trace" writeTo="consoleTarget"/>
|
||||||
<logger name="Application" minlevel="Trace" writeTo="consoleTarget"/>
|
<logger name="Application" minlevel="Trace" writeTo="consoleTarget"/>
|
||||||
<logger name="*" minlevel="Trace" writeTo="udpTarget"/>
|
<logger name="*" minlevel="Trace" writeTo="udpTarget"/>
|
||||||
<!--<logger name="*" minlevel="Off" writeTo="debugTarget"/>-->
|
<logger name="*" minlevel="Trace" writeTo="file">
|
||||||
|
<filters>
|
||||||
|
<when condition="logger == 'NzbDrone.SubSonic'" action="Ignore" />
|
||||||
|
</filters>
|
||||||
|
</logger>
|
||||||
|
<logger name="*" minlevel="Off" writeTo="debugTarget"/>
|
||||||
</rules>
|
</rules>
|
||||||
</nlog>
|
</nlog>
|
Loading…
Reference in New Issue
Block a user