Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
annotate WarFoundry.exe.log4net @ 120:2c473768ccec
* Change description following threat of legal action over descriptive term "army builder" to describe WarFoundry as an app that builds armies
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 30 Jan 2010 17:21:57 +0000 |
parents | 04ca17389f13 |
children | d97de6f980b4 |
rev | line source |
---|---|
92
04ca17389f13
* Use Linux (sensible) slashes in log path so that we get the same behaviour on all platforms
IBBoard <dev@ibboard.co.uk>
parents:
68
diff
changeset
|
1 <?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> |