logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Weston Weems <wwe...@gmail.com>
Subject Re: Which context should I use?
Date Thu, 30 Jun 2005 19:56:57 GMT
Uhh... I'll do all the reading, but will I have problems because this
will be classess accessed from a webapp at all?



On 6/30/05, Ron Grabowski <rongrabowski@yahoo.com> wrote:
> Have you looked into using the ThreadConext:
> 
> http://tinyurl.com/ck7ve
> http://logging.apache.org/log4net/release/sdk/log4net.ThreadContext.html
> 
> --- Weston Weems <wweems@gmail.com> wrote:
> 
> > I've got a few logging routines that are going to only store info
> > pertinent to that exact application event...
> >
> > Eg, login failed event will need username the person typed in etc...
> > but dont want that value to be in global context.
> >
> > What would be the best method... to use log4net.core.LoggingEvent
> > context? And documentation says:
> >
> > %property{name} syntax in the layoutpattern, except whats the
> > property
> > and whats the name?
> >
> > Sorry for sounding like a newb, I'm trying to ask intelligent,
> > researched questions
> >
> > Thanks
> > Weston
> >
> 
>

Mime
View raw message