<?xml version="1.0" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
autoReload="true">
<targets>
<!-- write logs to file -->
<target name="file" xsi:type="AsyncWrapper" queueLimit="5000" overflowAction="Discard">
<target xsi:type="File"
layout="${time} ${level:uppercase=true} ${event-context:item=Action} ${message}${newline}----------${callsite} ${callsite-linenumber} ${event-context:item=Amount} ${stacktrace}${newline}${newline}"
fileName="${basedir}/logs/${shortdate}.txt"
archiveFileName="${basedir}/logs/${shortdate}.{#}.txt"
createDirs="true" keepFileOpen="true" autoFlush="false"
openFileFlushTimeout="10"
openFileCacheTimeout="30"
archiveAboveSize="2048000"
archiveNumbering="Sequence"
concurrentWrites="true"
encoding="UTF-8" />
</target>
</targets>
<rules>
<!--TRACE,DEBUG,INFO,WARN,ERROR,FATAL-->
<logger name="*" minlevel="Trace" writeTo="file" />
</rules>
</nlog>