Hi,
I'm new to Log4J and just read about usage of NDC.
Is there any sample usage of NDC in servlets ?
Please share any samples on NDC that you come across.
Thanks,
Krishna
__
Do You Yahoo!?
Send your FREE holiday greetings online!
Krishna,
You can use session-ID or username (if applicable) in conjunction with NDC
in order to separate log-entries from different sessions.
--
Thomas
| -Opprinnelig melding-
| Fra: Krishna srinivasan [mailto:[EMAIL PROTECTED]]
| Sendt: 28. desember 2001 09:36
| Til: Log4J Users
Thanks for the response.
I had looked into the NDC approach, and it would have been perfect for this
scenario except for the fact that I need to be able to override the log
level/threshold on a by-user basis and, in log4j, that seems to require a
seperate Logger instance.
So basically, in the
I am logging to JMS and NDC does not appear to be a serializable
portion of the logging event.
I don't have any insight into the JMS issue, but I will wager
it is solvable.
I need to be able to override the log level/threshold on a by-user
basis and, in log4j, that seems to require a