RE: Using MDC on an application server with thread pools

2009-12-04 Thread Yogesh Rao
e you overwrite it every time to get the correct output. Hope this helps!! Cheers! -Original Message- From: Renan Vinícius Mozone [mailto:renan.moz...@gmail.com] Sent: Fri 12/4/2009 11:19 PM To: log4j-user Subject: Using MDC on an application server with thread pools On my web applicatio

Using MDC on an application server with thread pools

2009-12-04 Thread Renan Vinícius Mozone
On my web application (it uses JSP pages) I'm using the MDC to put the the sessionid on the log records, but i'm facing a problem. The application server is IBM WebSphere 6.1 and it uses thread pools. So, sometimes, the thread for some sessions is changed (the pool allocate another thread to co