view Chronosv2/source/NLog.config @ 28:4c0dea4760c5

RabbitMq working
author adminsh@apollo
date Wed, 21 Mar 2012 20:29:04 +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>