logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramaa Davanagere <RDAVA...@mobius.com>
Subject RE: Including datetime stamp in the log messages.
Date Mon, 19 Sep 2005 13:31:37 GMT

Did you mean this? 

oPatternLayout.ConversionPattern = "%date %level %message"; 

If so, this didn't work.

-----Original Message-----
From: Ron Grabowski [mailto:rongrabowski@yahoo.com] 
Sent: Monday, September 19, 2005 9:00 AM
To: Log4NET User
Subject: Re: Including datetime stamp in the log messages.

%date %level %message

--- Ramaa Davanagere <RDAVANAG@mobius.com> wrote:

> But I want the output to look like the sample shown below. I want to
> include
> the datetime stamp for each message that is logged to the text file
> followed
> by the message type constants (debug, error, fatal, info, etc) and
> then my
> log message. 

View raw message