Re: Logging sessionId for every log event

2010-09-16 Thread Igor Vaynberg
wrap a filter around wicket filter -igor On Thu, Sep 16, 2010 at 9:07 AM, Jeffrey Schneller wrote: > I am trying to log the session id with every log event so that I can > trace a visitors steps in the log file.  I am using log4j and was hoping > I could use either the NDC or MDC.  I am not able

Logging sessionId for every log event

2010-09-16 Thread Jeffrey Schneller
I am trying to log the session id with every log event so that I can trace a visitors steps in the log file. I am using log4j and was hoping I could use either the NDC or MDC. I am not able to figure out where to push the session id into the context and pop it out of the context when using NDC.