Howdy, Make sure the log4j jar is in each app's WEB-INF/lib directory, not in tomcat's common/lib directory. Make sure each app has its own configuration files and that the log files for the apps are different.
Alternatively, you could use a servlet context repository selector, but the above should be sufficient. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Jim Lynch [mailto:[EMAIL PROTECTED] >Sent: Thursday, June 26, 2003 9:41 AM >To: tomcat >Subject: Log4j problem mixing 2 apps > >I've two different applications running, using log4j to log. For some >reason output destined for one app gets in the others log. It looks >like only one application can have a log at a time. > >What might I have done to cause this problem? It looks like the >application that has been deployed last gets all the log messages. > >Thanks, >Jim. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
