view WarFoundryGTK.exe.log4net @ 42:35ad26ac59c0

Fixes #143: GTK "Army has been modified" dialog has no buttons * Use "AddButton" method to add a button that returns "Cancel" response
author IBBoard <dev@ibboard.co.uk>
date Wed, 11 Aug 2010 19:11:00 +0000
parents eab45344cd56
children
line wrap: on
line source

<?xml version="1.0" encoding="utf-8" ?>
<log4net>
	<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" />
		</layout>
	</appender>
	<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
		<file value="logs/WarFoundry.log" />
		<appendToFile value="false" />
		<rollingStyle value="Size" />
		<maxSizeRollBackups value="-1" />
		<maximumFileSize value="100MB" />
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" />
		</layout>
	</appender>
	<root>
		<level value="DEBUG" />
		<appender-ref ref="ConsoleAppender" />
		<appender-ref ref="RollingLogFileAppender" />
	</root>
</log4net>