I have used the PropertyConfigurator with a runtime properties file
correctly, but I can't get the same behaviour from the DOMConfigurator. The
DOMConfigurator parses the XML file at the start of the application
properly, but when I modify the file at runtime it does not accept the
changes. I am using the Xerces parser in my classpath and this is the code I
am using. What might I be doing wrong?
import org.apache.log4j.*;
import org.apache.log4j.xml.DOMConfigurator;
public mdBrowser()
{
super();
//PropertyConfigurator.resetConfiguration();
//PropertyConfigurator.configure("H:\\config\\configLog");
DOMConfigurator.configure("H:\\config\\config.xml");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]