2010-10-17 20:22:48 +03:00
|
|
|
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" autoReload="true">
|
|
|
|
<targets>
|
2011-05-20 05:13:21 +03:00
|
|
|
<target name="file" xsi:type="File" keepFileOpen="true" openFileCacheTimeout="1"
|
2011-04-21 05:30:28 +03:00
|
|
|
layout="${longdate} [${level}] ${logger}: ${message} ${exception:ToString}"
|
|
|
|
fileName="${basedir}/App_Data/logs/${shortdate}.txt" />
|
|
|
|
</targets>
|
2010-10-17 20:22:48 +03:00
|
|
|
<rules>
|
2011-11-14 03:23:49 +03:00
|
|
|
<logger name="*" minlevel="Off" writeTo="file"/>
|
2010-10-17 20:22:48 +03:00
|
|
|
</rules>
|
|
|
|
</nlog>
|