<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>