With Mono runtime I had to use log4net CLI (nothing else seems to work)
authorgu.martinm@gmail.com <gu.martinm@gmail.com>
Thu, 27 Feb 2014 01:46:55 +0000 (02:46 +0100)
committergu.martinm@gmail.com <gu.martinm@gmail.com>
Thu, 27 Feb 2014 01:46:55 +0000 (02:46 +0100)
Mono/RemoteAgents/GTKLinux/GTKLinux.csproj
Mono/RemoteAgents/GTKLinux/Log4Net.config

index 67b6699..6926b21 100644 (file)
@@ -62,7 +62,7 @@ through JSON API.</Description>
       <Private>True</Private>
     </Reference>
     <Reference Include="log4net">
-      <HintPath>..\..\..\..\..\..\..\usr\mymono\custom\log4net-1.2.13\net\4.0\log4net.dll</HintPath>
+      <HintPath>..\..\..\..\..\..\..\usr\mymono\custom\log4net-1.2.13\cli\1.0\log4net.dll</HintPath>
     </Reference>
   </ItemGroup>
   <ItemGroup>
index 7c99490..680ab43 100644 (file)
@@ -3,7 +3,7 @@
        <!-- EasyConsoleAppender is set to be a ConsoleAppender -->
     <appender name="EasyConsoleAppender" type="log4net.Appender.ConsoleAppender">
         <layout type="log4net.Layout.PatternLayout">
-            <conversionPattern value="%-4timestamp [%thread] %-5level %logger %ndc - %message%newline" />
+            <conversionPattern value="%-4timestamp [%thread] %-5level %logger %type %ndc - %message%newline" />
         </layout>
     </appender>