<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
<section name="Northwind" type="System.Configuration.NameValueFileSectionHandler, System,Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
</configSections>
<connectionStrings/>
<Northwind>
<add key="dataAdapterType" value="System.Data.SqlClient.SqlDataAdapter"/>
<add key="providerType" value="System.Data.SqlClient.SqlConnection"/>
<add key="assemblyName" value="System.Data,Version=2.0.0.0,PublicKeyToken=b77a5c561934e089,Culture=neutral,FileVersion=2.0.50727.42"/>
<add key="connectionString" value='Data Source=.;Initial Catalog=NORTHWIND;Integrated Security=True' />
<add key="dbBrackets" value="[]"/>
</Northwind>
<log4net>
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender,log4net">
<param name="File" value="Logs\\Sample.log"/>
<param name="AppendToFile" value="true"/>
<param name="MaxSizeRollBackups" value="50"/>
<param name="MaximumFileSize" value="5MB"/>
<param name="RollingStyle" value="Size"/>
<param name="StaticLogFileName" value="true"/>
<layout type="log4net.Layout.PatternLayout,log4net">
<param name="ConversionPattern" value="%d %t %-5p - %m%n"/>
</layout>
</appender>
<!-- Setup the root category, add the appenders and set the default priority -->
<root>
<priority value="DEBUG"/>
<appender-ref ref="RollingLogFileAppender"/>
</root>
</log4net>
</configuration>

Last edited Mar 2, 2009 at 12:44 AM by dbroker, version 1

Comments

No comments yet.