<?xml version="1.0" encoding="utf-8"?>
<configuration>
	<configSections>
		<section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
	</configSections>
		
	<log4net>
		<appender name="LogAppender" type="log4net.Appender.RollingFileAppender">
			<file type="log4net.Util.PatternString" value="%property{Configuration.DataDirectory}/KDService.log" />
			<appendToFile value="true" />
			<maxSizeRollBackups value="5" />
			<maximumFileSize value="10MB" />
			<rollingStyle value="Size" />
			<staticLogFileName value="true" />
			<layout type="log4net.Layout.PatternLayout">				
				<conversionPattern value="%date{MMM dd HH:mm:ss,fff} -%level- %class (L-%L) [%t]: %message%newline%exception" />
			</layout>
		</appender>
		<root>
			<level value="ALL" />
			<appender-ref ref="LogAppender" />
		</root>
	</log4net>

</configuration>