<?xml version="1.0" encoding="utf-8" ?>
<log4net>
	<root>
		<level value="ALL" />
		<appender-ref ref="BufferingForwardingAppender" />
	</root>
	<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
		<file type="log4net.Util.PatternString" value="${LOCALAPPDATA}\Delta Industrial Automation\DIAStudio\DIATool\DIAInstaller\logs\%property{LogFileName}.log" />
		<appendToFile value="true" />
		<rollingStyle value="Size" />
		<maxSizeRollBackups value="5" />
		<maximumFileSize value="10MB" />
		<staticLogFileName value="true" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%date [%thread] %-5level %message%newline" />
		</layout>
	</appender>
	<appender name="BufferingForwardingAppender" type="log4net.Appender.BufferingForwardingAppender" >
		<bufferSize value="100" />
		<lossy value="true" />
		<evaluator type="log4net.Core.LevelEvaluator">
			<threshold value="ALL"/>
		</evaluator>
		<appender-ref ref="RollingFileAppender" />
	</appender>
</log4net>