Hi,

      I am using the log4j for logging in my webapplication.I am keeping the
log4j.xml file outside of my web application(generally we will keep under
WEB-INF/classes).My problem is my application is not loading  the
log4j.xml.I am using the following code while my context is initializing to
load the log4j.xml in to my class path.
System.setProperty("log4j.configuration",
"C:/samplel/log4j.xml"); System.setProperty("log4j.configuratorClass",
"com.foo.DOMConfigurator"); But it is not working.I am using tomcat5.0.


Any Ideas Please.



-- 
    Regards
    Kondalarao Navuluri

Reply via email to