view Chronosv2/source/NLog.config @ 30:8d574f2d4174

Cleaned up client
author adminsh@apollo
date Wed, 21 Mar 2012 22:26:48 +0000
parents 741981715d94
children
line wrap: on
line source

<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <targets>
    <target name="async-file" type="AsyncWrapper">
      <target name="file"
              xsi:type="File"
              fileName="${basedir}/logs/Log ${shortdate}.txt"
              layout="${longdate} ${callsite} ${level}: ${message} ${exception:format=tostring} ${stacktrace}" />
    </target>
  </targets>
  <rules>
    <logger name="*" writeTo="async-file" minlevel="Trace"/>
    <!--<logger name="*" writeTo="mail" minlevel="Error"/>-->
  </rules>
</nlog>