You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Raul Carazo <jn...@yahoo.es> on 2006/02/15 13:46:13 UTC

About MDC/NDC and threads

Maybe there is an answer to my question but... If so,
please, refer me to it.

Both NDC and MDC works on a thread, so if you create
another logger in another thread, you'll noy see the
value you had set before...

Some servers, like Weblogic, uses several threads, so
it's possible that you don't take the same thread in
your  web Session.

I'd like to set a value (id of the person in session)
for a HttpSession, not a thread. IS it possible???

Thanks in advance


		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org