Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
annotate WarFoundryGTK.exe.log4net @ 47:07fd9f7b0dd1
Re #79: Make use of GTK# callback for exceptions
* Hook up method to event
* Add dialog on unhandled exception so that the user knows
Note: Still prints lots of stack trace about GLib stuff, but I don't know if that's normal yet
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 14 Aug 2010 19:56:08 +0000 |
parents | eab45344cd56 |
children |
rev | line source |
---|---|
2 | 1 <?xml version="1.0" encoding="utf-8" ?> |
2 <log4net> | |
32
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
3 <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" > |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
4 <layout type="log4net.Layout.PatternLayout"> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
5 <conversionPattern value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" /> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
6 </layout> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
7 </appender> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
8 <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
9 <file value="logs/WarFoundry.log" /> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
10 <appendToFile value="false" /> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
11 <rollingStyle value="Size" /> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
12 <maxSizeRollBackups value="-1" /> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
13 <maximumFileSize value="100MB" /> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
14 <layout type="log4net.Layout.PatternLayout"> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
15 <conversionPattern value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" /> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
16 </layout> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
17 </appender> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
18 <root> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
19 <level value="DEBUG" /> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
20 <appender-ref ref="ConsoleAppender" /> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
21 <appender-ref ref="RollingLogFileAppender" /> |
eab45344cd56
Re #172: Add GTK# UI for showing debugging messages
IBBoard <dev@ibboard.co.uk>
parents:
2
diff
changeset
|
22 </root> |
2 | 23 </log4net> |