Hi,
I am new to Log4j and am trying to read the configuration settings from WEB-INF/classes/log4j.properties
I am using Tomcat 5.0.27. I have been trying to do this in my contextListener:
public void contextInitialized(ServletContextEvent sce)
{
String fileName = sc.getRealPath("/") + "/WEB-INF/log4j.properties";
PropertyConfigurator.configureAndWatch(fileName,2000);
......
}As soon as I include those lines in my webapps context listener, my webapp does not start on starting tomcat. When i comment
those lines off it starts normally. Any ideas whats going on here?
Mufaddal Khumri Software Developer Waves In Motion Phone: 602 956 7080 x 26 Email: [EMAIL PROTECTED]
