Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

web app ,Struts ,log4j ,sessionID log problems

Status
Not open for further replies.

ronnyhel

Programmer
Mar 7, 2006
4
IT
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top