The project I am working on does create a seperate log file for every user. However, this was a customization; log4j by itself does not provide for this.
I am using the logger name (which is set to "session."+userName) to decide to which file to log; you could also possibly use an approach utilizing MDC/NDC. But no matter which you choose, you will either have to extend or rewrite some of the log4j classes. ----- Original Message ----- From: "Sumit Mishra" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 05, 2002 9:55 AM Subject: Logging in JSPs, possible??? > Hi, > > Is it possible to generate log4j messages from JSPs? I would also like to > know whether it is possible to create log files based on every user logged > in to the system? > > Regards, > Sumit Mishra > <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] > <http://www.cash-tech.com/> http://www.cash-tech.com/ > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>