<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<!-- See http://logging.apache.org/log4net/release/sdk/log4net.Layout.PatternLayout.html -->
	<log4net>
		<appender name="FileAppender" type="log4net.Appender.RollingFileAppender">
			<file type="log4net.Util.PatternString">
				<converter>
					<name value="folder" />
    				<type value="GreenshotPlugin.Core.SpecialFolderPatternConverter" />
  				</converter>
				<conversionPattern value="%folder{LocalApplicationData}\Greenshot\Greenshot.log" />
			</file>
			<encoding value="utf-8" />
			<appendToFile value="true" />
			<rollingStyle value="Size" />
			<maxSizeRollBackups value="3" />
			<maximumFileSize value="1MB" />
			<staticLogFileName value="true" />
			<layout type="log4net.Layout.PatternLayout">
				<conversionPattern value="%date{ISO8601} [%thread] %-5level - [%logger] %m%n%exception" />
			</layout>
		</appender>
		<root>
			<level value="INFO" />
			<appender-ref ref="FileAppender" />
		</root>
	</log4net>
</configuration>