comparison WarFoundry.exe.log4net @ 184:d97de6f980b4

Re #88: WinForms UI * Keep last 25 log files to stop log folder bloat
author IBBoard <dev@ibboard.co.uk>
date Sat, 30 Oct 2010 10:13:59 +0000
parents 04ca17389f13
children
comparison
equal deleted inserted replaced
183:75afd724a825 184:d97de6f980b4
7 </appender> 7 </appender>
8 <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> 8 <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
9 <file value="logs/WarFoundry.log" /> 9 <file value="logs/WarFoundry.log" />
10 <appendToFile value="false" /> 10 <appendToFile value="false" />
11 <rollingStyle value="Size" /> 11 <rollingStyle value="Size" />
12 <maxSizeRollBackups value="-1" /> 12 <maxSizeRollBackups value="25" />
13 <maximumFileSize value="100MB" /> 13 <maximumFileSize value="100MB" />
14 <layout type="log4net.Layout.PatternLayout"> 14 <layout type="log4net.Layout.PatternLayout">
15 <conversionPattern value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" /> 15 <conversionPattern value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" />
16 </layout> 16 </layout>
17 </appender> 17 </appender>