Log4J.jar is in extensions directory in java1.4/jre/lib It is configured in a way that any application that uses our java1.4 installation can have access to this extensions directory. In this case Tomcat is started with first setting JAVA_HOME to use the same java1.4 installation.
Here are the settings from our log4j properties file: -------------------------------------------------------------- log4j.rootCategory=DEBUG, LOG log4j.appender.LOG=org.apache.log4j.FileAppender log4j.appender.LOG.File=/filepath1/log4j.log (and it's filepath2 for the other log file) log4j.appender.LOG.layout=org.apache.log4j.PatternLayout log4j.appender.LOG.layout.ConversionPattern=%d{ABSOLUTE} %p - %m%n -------------------------------------------------------------- I don't see how these settings can cause such a mismatch with the log data. Ross -----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 7:58 AM To: Tomcat Users List Subject: RE: Tomcat mixing different log4j FileAppenders Hi, How are you configuring log4j? Where is log4j.jar? Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Angelov, Rossen [mailto:[EMAIL PROTECTED] >Sent: Wednesday, March 24, 2004 7:45 PM >To: 'Tomcat Users List' >Subject: Tomcat mixing different log4j FileAppenders > >I'm using Tomcat 5.0.19 with two different web applications running on >different virtual hosts and Log4j to log errors. >Each application has its own log4j FileAppender and is supposed to write to >its own log file. > >I've noticed few times that Tomcat sends the log information to the same >log >file which isn't right. Both applications are not supposed to share >anything >except the container. The issue is resolved after restarting Tomcat but it >appears randomly again. > >Has anybody experienced similar problems or do you have any suggestions >what >might be set incorrectly in my case? > >Thanks, >Ross > > >"This communication is intended solely for the addressee and is >confidential and not for third party unauthorized distribution." 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] "This communication is intended solely for the addressee and is confidential and not for third party unauthorized distribution."