You may add servlet, something like this:
public class init extends HttpServlet implements ServletContextListener{
  public void contextInitialized(ServletContextEvent event) {
//File propertiesFile -> your log4j.properties
PropertyConfigurator.configure(propertiesFile.toString());
}
}
..and add to your web.xml
<listener>
    <listener-class>package.init</listener-class>
</listener>



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to