<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<configSections>
		<section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
	</configSections>

	<log4net>
		<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
			<param name="File" type="log4net.Util.PatternString"  value="log/ErrorLogs.txt"/>
			<param name="AppendToFile" value="true"/>
			<param name="MaxSizeRollBackups" value="30"/>
			<param name="MaximumFileSize" value="8096KB"/>
			<param name="RollingStyle" value="Size"/>
			<param name="StaticLogFileName" value="true"/>
			<layout type="log4net.Layout.PatternLayout">
				<param name="ConversionPattern" value="Time:%d %nLevel:%level %nProgramfile:%F %Lline%nMessage:%m%n-----------------------------------------%n%n" />
			</layout>
		</appender>

		<root>
			<level value="ERROR"/>
			<appender-ref ref="RollingLogFileAppender"/>

		</root>

	</log4net>
</configuration>