> From: Jonathan Ross [mailto:jonr...@alum.mit.edu] > Subject: Seeking authoritative answer re using Log4J with v6 > > if log4j.jar is placed in catalina.home/lib per instructions, > it's not on the system classpath, which is used by bootstrap.jar.
A recent posting by Mark T indicates the doc might be in error; someone writing a custom log handler had to place it on Tomcat's startup classpath, so the same might very well be true for log4j. Some experimentation is in order, and you may have just done that. > I can't move log4j.jar to the system classpath, because then it > will be visible to all webapps It was already visible to all webapps when the jar was in Tomcat's lib directory, so moving it should not matter. The local copies in WEB-INF/lib *should* be found before the system classloader is requested. Note that in order to get individual use of log4j by a webapp, each must have its own log4j.jar and log4j.properties. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org