Hi,i want to differentiate the logging output of one client from another in my web application.
I need to add the sessionId in the log rows but i dont know how.I use log4j. I tryed the NDC.push(String) in the LoginAction and the option %x in the conversionPattern but whan the thread changes i lost the information. SomeBody can help me?
I need to add the sessionId in the log rows but i dont know how.I use log4j. I tryed the NDC.push(String) in the LoginAction and the option %x in the conversionPattern but whan the thread changes i lost the information. SomeBody can help me?