comparison WarFoundry.exe.log4net @ 63:4db2c1086a85

Re #173: Add WinForms UI for showing debugging messages * Add starts of an implementation by subscribing to event and logging out for now (matches GTK# version in r273) * Add file logger
author IBBoard <dev@ibboard.co.uk>
date Mon, 21 Sep 2009 19:31:24 +0000
parents 0e7c257ca8d6
children fd8654afd331
comparison
equal deleted inserted replaced
62:0e7c257ca8d6 63:4db2c1086a85
1 <?xml version="1.0" encoding="utf-8" ?> 1 <?xml version="1.0" encoding="utf-8" ?>
2 <!-- This section contains the log4net configuration settings -->
3 <log4net> 2 <log4net>
4 <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" > 3 <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
5 <layout type="log4net.Layout.PatternLayout"> 4 <layout type="log4net.Layout.PatternLayout">
6 <param name="ConversionPattern" value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" /> 5 <conversionPattern value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" />
7 </layout> 6 </layout>
8 </appender> 7 </appender>
9 <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> 8 <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
10 <file value="logfile.txt" /> 9 <file value="logs\WarFoundry.log" />
11 <appendToFile value="false" /> 10 <appendToFile value="false" />
12 <rollingStyle value="Size" /> 11 <rollingStyle value="Size" />
13 <maxSizeRollBackups value="-1" /> 12 <maxSizeRollBackups value="-1" />
14 <maximumFileSize value="100MB" /> 13 <maximumFileSize value="100MB" />
15 <layout type="log4net.Layout.PatternLayout"> 14 <layout type="log4net.Layout.PatternLayout">