Skip to content

Instantly share code, notes, and snippets.

@andreasohlund
Created February 20, 2012 08:46
Show Gist options
  • Select an option

  • Save andreasohlund/1868463 to your computer and use it in GitHub Desktop.

Select an option

Save andreasohlund/1868463 to your computer and use it in GitHub Desktop.
nservicebus.course.lognet
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
<section name="MessageForwardingInCaseOfFaultConfig" type="NServiceBus.Config.MessageForwardingInCaseOfFaultConfig, NServiceBus.Core" />
</configSections>
<log4net debug="false">
<appender name="FileAppender" type="log4net.Appender.FileAppender">
<file value="myLog.txt"/>
<appendToFile value="true"/>
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="%d [%t] %-5p %c [%x] &lt;%X{auth}&gt; - %m%n"/>
</layout>
</appender>
<root>
<level value="DEBUG"/>
<appender-ref ref="FileAppender"/>
</root>
</log4net>
<MessageForwardingInCaseOfFaultConfig ErrorQueue="error"/>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment