Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
changeset 2:6d247d1a1cbb
Fixes #3 - Fix broken logging
* Rename Log4Net config to new app name
* Add Log4Net config as a deployed file to make sure it is in the compiled directory
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 23 Dec 2008 19:06:56 +0000 |
parents | a3c70b542257 |
children | 6e6284a43843 |
files | WarFoundryGTK.exe.log4net WarFoundryGUI.exe.log4net WarFoundryGUI.mdp |
diffstat | 3 files changed, 16 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WarFoundryGTK.exe.log4net Tue Dec 23 19:06:56 2008 +0000 @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- This section contains the log4net configuration settings --> +<log4net> + <!-- Define some output appenders --> + <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" > + <layout type="log4net.Layout.PatternLayout"> + <param name="ConversionPattern" value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" /> + </layout> + </appender> + <!-- Setup the root category, add the appenders and set the default priority --> + <root> + <level value="DEBUG" /> + <appender-ref ref="ConsoleAppender" /> + </root> +</log4net>
--- a/WarFoundryGUI.exe.log4net Fri Dec 19 16:47:13 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<!-- This section contains the log4net configuration settings --> -<log4net> - <!-- Define some output appenders --> - <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" > - <layout type="log4net.Layout.PatternLayout"> - <param name="ConversionPattern" value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" /> - </layout> - </appender> - <!-- Setup the root category, add the appenders and set the default priority --> - <root> - <level value="DEBUG" /> - <appender-ref ref="ConsoleAppender" /> - </root> -</log4net>
--- a/WarFoundryGUI.mdp Fri Dec 19 16:47:13 2008 +0000 +++ b/WarFoundryGUI.mdp Tue Dec 23 19:06:56 2008 +0000 @@ -25,7 +25,7 @@ <File name="gtk-gui/IBBoard.WarFoundry.FrmMainWindow.cs" subtype="Code" buildaction="Compile" /> <File name="libs/log4net.dll" subtype="Code" buildaction="Nothing" /> <File name="libs/log4net.xml" subtype="Code" buildaction="Nothing" /> - <File name="WarFoundryGUI.exe.log4net" subtype="Code" buildaction="Nothing" /> + <File name="WarFoundryGTK.exe.log4net" subtype="Code" buildaction="FileCopy" /> <File name="FrmChangeGameSystem.cs" subtype="Code" buildaction="Compile" /> <File name="gtk-gui/IBBoard.WarFoundry.FrmChangeGameSystem.cs" subtype="Code" buildaction="Compile" /> <File name="FrmNewUnit.cs" subtype="Code" buildaction="Compile" />