Hi, Endre... Thank you for your answer...
I have noted that for a single request, the server use
a single thread (as you said), but for different
requests on the same session, the server could use
different threads...
But the solution you wrote is quite useful... I
think... I'll try something lik
On Thu, 16 Feb 2006, Raul Carazo wrote:
| 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,
Raul,
It's been a while since I have looked at this, and while it is
possible, there is no built in support in log4j to do what you want.
Mainly because there is no standard way to get at an HttpSession
across web servers, akaik. And if there was, or you wrote some
customized code, how would you
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 ta