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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/WarFoundryGTK.exe.log4net	Tue Dec 23 19:06:56 2008 +0000
     1.3 @@ -0,0 +1,15 @@
     1.4 +<?xml version="1.0" encoding="utf-8" ?>
     1.5 +<!-- This section contains the log4net configuration settings -->
     1.6 +<log4net>
     1.7 +    <!-- Define some output appenders -->	
     1.8 +    <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
     1.9 +        <layout type="log4net.Layout.PatternLayout">
    1.10 +            <param name="ConversionPattern" value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" />
    1.11 +        </layout>
    1.12 +    </appender>
    1.13 +    <!-- Setup the root category, add the appenders and set the default priority -->
    1.14 +    <root>
    1.15 +        <level value="DEBUG" />
    1.16 +        <appender-ref ref="ConsoleAppender" />
    1.17 +    </root>
    1.18 +</log4net>
     2.1 --- a/WarFoundryGUI.exe.log4net	Fri Dec 19 16:47:13 2008 +0000
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,15 +0,0 @@
     2.4 -<?xml version="1.0" encoding="utf-8" ?>
     2.5 -<!-- This section contains the log4net configuration settings -->
     2.6 -<log4net>
     2.7 -    <!-- Define some output appenders -->	
     2.8 -    <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" >
     2.9 -        <layout type="log4net.Layout.PatternLayout">
    2.10 -            <param name="ConversionPattern" value="%-5p [%d{HH:MM:ss}]: %C{1}.%M() - Line: %L - %m%n" />
    2.11 -        </layout>
    2.12 -    </appender>
    2.13 -    <!-- Setup the root category, add the appenders and set the default priority -->
    2.14 -    <root>
    2.15 -        <level value="DEBUG" />
    2.16 -        <appender-ref ref="ConsoleAppender" />
    2.17 -    </root>
    2.18 -</log4net>
     3.1 --- a/WarFoundryGUI.mdp	Fri Dec 19 16:47:13 2008 +0000
     3.2 +++ b/WarFoundryGUI.mdp	Tue Dec 23 19:06:56 2008 +0000
     3.3 @@ -25,7 +25,7 @@
     3.4      <File name="gtk-gui/IBBoard.WarFoundry.FrmMainWindow.cs" subtype="Code" buildaction="Compile" />
     3.5      <File name="libs/log4net.dll" subtype="Code" buildaction="Nothing" />
     3.6      <File name="libs/log4net.xml" subtype="Code" buildaction="Nothing" />
     3.7 -    <File name="WarFoundryGUI.exe.log4net" subtype="Code" buildaction="Nothing" />
     3.8 +    <File name="WarFoundryGTK.exe.log4net" subtype="Code" buildaction="FileCopy" />
     3.9      <File name="FrmChangeGameSystem.cs" subtype="Code" buildaction="Compile" />
    3.10      <File name="gtk-gui/IBBoard.WarFoundry.FrmChangeGameSystem.cs" subtype="Code" buildaction="Compile" />
    3.11      <File name="FrmNewUnit.cs" subtype="Code" buildaction="Compile" />