Have you looked into using the ThreadConext:

http://tinyurl.com/ck7ve
http://logging.apache.org/log4net/release/sdk/log4net.ThreadContext.html

--- Weston Weems <[EMAIL PROTECTED]> 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
> 

Reply via email to