sonarr-repo-only/NzbDrone.Web/log.config

10 lines
475 B
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="file" xsi:type="File" keepFileOpen="true" openFileCacheTimeout="1"
layout="${longdate} [${level}] ${logger}: ${message} ${exception:ToString}"
fileName="${basedir}/App_Data/logs/${shortdate}.txt" />
</targets>
<rules>
<logger name="*" minlevel="Off" writeTo="file"/>
</rules>
</nlog>