2010-10-17 17:22:48 +00: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 02:13:21 +00:00
|
|
|
<target name="file" xsi:type="File" keepFileOpen="true" openFileCacheTimeout="1"
|
2011-04-21 02:30:28 +00:00
|
|
|
layout="${longdate} [${level}] ${logger}: ${message} ${exception:ToString}"
|
|
|
|
fileName="${basedir}/App_Data/logs/${shortdate}.txt" />
|
|
|
|
</targets>
|
2010-10-17 17:22:48 +00:00
|
|
|
<rules>
|
2011-11-14 00:23:49 +00:00
|
|
|
<logger name="*" minlevel="Off" writeTo="file"/>
|
2010-10-17 17:22:48 +00:00
|
|
|
</rules>
|
|
|
|
</nlog>
|