logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shireesh Thanneru <thann...@yahoo.com>
Subject Re: support for Mono
Date Fri, 26 Aug 2005 16:11:20 GMT

Instead of %timestamp, you may want to try %date{ISO8601} and see what
gets printed.

Shireesh Thanneru

--- Julien Sobrier <julien@sobrier.net> wrote:

> Hello,
> Log4net works great for me with .Net 1.1. But the time stam doesn't
> make
> sense wit Mono 1.1/Linux:
> 1031  INFO [-1210304288]
> 1045  WARN [-1210304288]
> 
> My config look like:
> <log4net>
>         <!-- Print messages on the console -->
>         <appender name="Console"
> type="log4net.Appender.ConsoleAppender">
>                 <layout type="log4net.Layout.PatternLayout">
>                         <!-- Pattern to output the caller's file name
> and line n
> umber -->
>                         <conversionPattern value="%-4timestamp
> %5level
> [%thread]
> %25logger - %message %newline" />
>                 </layout>
>         </appender>
> 
>         <root>
>                 <level value="DEBUG" />
>                 <appender-ref ref="Console" />
>         </root>
> </log4net>
> 
> 
> Thank you
> Julien
> 


Mime
View raw message