Yes. In your application, override newRequestCycle and return a custom rc that 
uses onBeginRequest (IIRC) to do this.


Jeremy Thomerson
http://www.wickettraining.com
-- sent from a wireless device


-----Original Message-----
From: [email protected]
Sent: Monday, March 30, 2009 9:11 AM
To: [email protected]
Subject: wicket & log4j MDC

Hi

I would like to add MDC information(i.e. user login) to my loggs (log4j).
To do that I have to call MDC.put at the beggining of request
handling. Im looking for 'interception' functionality in Wicket to add
MDC code there. Where I should add such code ? RequestCycle ?

Regards
Daniel



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



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

Reply via email to