Hi All,

 

We have a j2ee web application using log4j for logging purpose. Nowadays
quite frequently we have to switch on and switch off the debugging
mechanism.

The properties file is in web-inf/classes.

We have to load the configuration file whenever it changes.

We are planning to write a servlet which calls the PropertyConfigurator
configureAndWatch method to reload the properties file.

But we just read through the log4j faq that this is unsafe.

Please advice me the best way to implement this reloading mechanism.

 

KP

Reply via email to