True, the unpackWars property must be true. However, there is no "configureAndWatch" method which takes a URL. If using configure, you will only pick up changes by restarting the server.
-----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 2:25 PM To: Log4J Users List Subject: RE: Tomcat Hi, >I do a similar thing as Yoav suggests. > >String systemId = getServletContext().getRealPath("/conf/logconfig.xml"); >DOMConfigurator.configureAndWatch(systemId, logConfigWatch); Note a key difference between my suggestion and the above: the above will not work if you're deploying out of a .war file. getRealPath() for anything returns null if inside a .war. Thankfully you should be able to substitute getResource() for getRealPath() as the configurator api supports the configure(URL url) methods. Yoav Shapira Millennium ChemInformatics -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> This electronic transmission is strictly confidential to Smith & Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>