Hmmm. Are you saying that nothing was output? That should have output
the date of the logging event, the level of the logging event, and the
message of the logging event. 

The example format I gave you does not automatically output the thread
id surrounded with brackets [ ]. You have to do that on your own:

 [%thread]

--- Ramaa Davanagere <[EMAIL PROTECTED]> wrote:

> 
> Did you mean this? 
> 
> oPatternLayout.ConversionPattern = "%date %level %message"; 
> 
> If so, this didn't work.
> 
> 
> -----Original Message-----
> From: Ron Grabowski [mailto:[EMAIL PROTECTED] 
> 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 <[EMAIL PROTECTED]> 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. 
> 

Reply via email to