<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<configSections>

		<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />

	</configSections>
	<log4net>
		<root>
			<level value="ALL" />
			<appender-ref ref="SysAppender" />
		</root>
		<logger name="WebLogger">
			<level value="DEBUG" />
		</logger>
		<appender name="SysAppender" type="log4net.Appender.RollingFileAppender,log4net">
			<param name="File" value="App_Data/" />
			<param name="AppendToFile" value="true" />
			<param name="RollingStyle" value="Date" />
			<param name="DatePattern" value="&quot;Logs_&quot;yyyyMMdd&quot;.txt&quot;" />
			<param name="StaticLogFileName" value="false" />
			<layout type="log4net.Layout.PatternLayout,log4net">
				<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
				<param name="Header" value=" ------------------------------------------------&#xD;&#xA;" />
				<param name="Footer" value=" ------------------------------------------------&#xD;&#xA;" />
			</layout>
		</appender>
		<appender name="consoleApp" type="log4net.Appender.ConsoleAppender,log4net">
			<layout type="log4net.Layout.PatternLayout,log4net">
				<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
			</layout>
		</appender>
	</log4net>
    <startup> 
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
    </startup>
</configuration>