On 5/20/2010 1:03 AM, G.Cholakov wrote: > > Yes, they all log to a single file! > > Each application in its WEB-INF/lib has log4j-1.2.12.jar. > > All apps uses same library (jar) with base functionality classes, where the > logger object is created, but there is nothing there that could mess up the > "autoconfiguration":
When you say they all use the "same library", do you mean each has its own copy in WEB-INF/lib or do they share it by placing it in a shared classloader, such as CATALINA_HOME/lib or CATALINA_HOME/shared? If it truly is shared, then what happens if you take a copy of said library and add it to WEB-INF/lib of each app? Jake > > logger = Logger.getLogger(this.getClass().getName()); > > And the there is no code like DOMConfigurator.configure(URL) - I'm the > author of the code. > > Surprisingly, the situation above is happening only on one remote machine. > We tested 3 other servers with the same configuration and version of Tomcat > - all apps log to their own files. So, I didn't succeed to reproduce this > behaviour on our servers and to observe at close look. :confused: Me too. Jake --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
