OK, I removed the jar file from common/lib and put copies in each WEB-INF/lib and it works as expected.
Thanks again, Donie, be sure you don't still have a copy somewhere in your tomcat lib path, too. Jim. Donie Kelly wrote: > > I have this problem as well but my log4j.jar is in WEB-INF/lib in both > contexts. The problem happens exactly the same way. The last app to load > sets the logging for each webapp and all the logs go to the same location. > > Donie > > -----Original Message----- > From: Vladimer Shioshvili [mailto:[EMAIL PROTECTED] > Sent: 26 June 2003 14:48 > To: Tomcat Users List > Subject: Re: Log4j problem mixing 2 apps > > easiest solution is to use log4j in the context scope, instead of > application scope. meaning that you put your log4j.jar file in web-inf/lib > of every context, instead of some central location. each application will > have to configure the logger separately after that, and you will have no > interference. > > cheers, > Vlad > > At 09:40 AM 6/26/2003, you wrote: > >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] > > ________________ > Vladimer Shioshvili > > QRC Division of Macro International Inc. > 7315 Wisconsin Avenue, Suite 400W > Bethesda, MD 20814 > > Phone: (301) 657 3077 ext. 155 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]