I will look into the NDC. Thank you very much. Chiming
----- Original Message ----- From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, May 02, 2004 12:43 AM Subject: Re: [OT] log per session > Chiming Huang wrote: > > >Hi, > > > >Is it practical to have a log file created per > >sessoin? I am using log4j > >1.2.8. It logs all messages to one log file. What is > >your suggestion? > > > > > > This is primarily a Log4J question ... consider looking at the "Nested > Diagnostic Context" (NDC) feature of Log4J. You would need to figure > out how to create such a context for each session, and then attach each > request to the NDC for its corresponding session. The Log4J docs (and > mailing lists) would be a good resource for more help. > > Craig McClanahan > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]