Dear All,

I use the Mapped Diagnostic Context concept 
https://logging.apache.org/log4j/2.x/manual/thread-context.html).

Using log4j 2.x and a specific AbstractRequestCycleListener, 
I overrided onBeginRequest() to perform a ThreadContext.push(id) 
and onDetach(RequestCycle cycle) to perform a ThreadContext.pop();.

So far so good for all the logs but the IRequestLogger's logs.

I notice that the IRequestLogger # performLogging() is called after the 
RequestCycle # onDetach() has been called.

I would like it to happen before !
Is that possible ? 


François 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to