-
Log4j configuration change listener (1 messages)
- Posted by: Maciej Miklas
- Posted on: December 11 2008 06:58 EST
Log4j supports file watch for configuration changes. I would like to be able to get notification when log4j reconfiguration takes place. It there kind of listener in log4j, that will be notified on any log4j configuration change?Threaded Messages (1)
- Re: Log4j configuration change listener by Xavier Tello on January 04 2009 15:23 EST
-
Re: Log4j configuration change listener[ Go to top ]
- Posted by: Xavier Tello
- Posted on: January 04 2009 15:23 EST
- in response to Maciej Miklas
Hello, Have you already try calling org.apache.log4j.xml.DOMConfigurator.configureAndWatch("log4j.configuration") (http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/xml/DOMConfigurator.html) Hope that helps! Xavier