Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
annotate WarFoundry.exe.log4net @ 62:0e7c257ca8d6 WarFoundry_v0.1beta2_Winforms
Fixes #164: Show unit cost in army tree
* Add points value in army tree for units, category and army (aggregating as it goes up the tree)
* Add code to update tree node text as points values change
* Remove references to now deprecated points-related properties
Also:
* Add rolling log file appender to logging config
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 19 Sep 2009 19:44:45 +0000 |
parents | 19bdbb80999c |
children | 4db2c1086a85 |
rev | line source |
---|---|
62
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
1 <?xml version="1.0" encoding="utf-8" ?> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
2 <!-- This section contains the log4net configuration settings --> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
3 <log4net> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
4 <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" > |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
5 <layout type="log4net.Layout.PatternLayout"> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
6 <param name="ConversionPattern" value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" /> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
7 </layout> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
8 </appender> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
9 <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
10 <file value="logfile.txt" /> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
11 <appendToFile value="false" /> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
12 <rollingStyle value="Size" /> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
13 <maxSizeRollBackups value="-1" /> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
14 <maximumFileSize value="100MB" /> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
15 <layout type="log4net.Layout.PatternLayout"> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
16 <conversionPattern value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" /> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
17 </layout> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
18 </appender> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
19 <root> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
20 <level value="DEBUG" /> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
21 <appender-ref ref="ConsoleAppender" /> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
22 <appender-ref ref="RollingLogFileAppender" /> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
23 </root> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
24 </log4net> |
0e7c257ca8d6
Fixes #164: Show unit cost in army tree
IBBoard <dev@ibboard.co.uk>
parents:
10
diff
changeset
|
25 |