ext.tools
Class PropertyConfigurator
java.lang.Object
org.apache.log4j.PropertyConfigurator
ext.tools.PropertyConfigurator
- All Implemented Interfaces:
- org.apache.log4j.spi.Configurator
public class PropertyConfigurator
- extends org.apache.log4j.PropertyConfigurator
make log4j reread it's configuration if properties are modified;
to force usage of this class start java with -Dlog4j.configuratorClass=ext.tools.PropertyConfigurator
to change the watch interval from 1 minute default (60000 millis) to say 5 minutes use -DwatchInterval=300000
| Fields inherited from class org.apache.log4j.PropertyConfigurator |
LOGGER_FACTORY_KEY, loggerFactory, registry |
| Fields inherited from interface org.apache.log4j.spi.Configurator |
INHERITED, NULL |
|
Method Summary |
void |
doConfigure(java.net.URL configURL,
org.apache.log4j.spi.LoggerRepository hierarchy)
overridden to call configureAndWatch |
| Methods inherited from class org.apache.log4j.PropertyConfigurator |
configure, configure, configure, configureAndWatch, configureAndWatch, configureLoggerFactory, doConfigure, doConfigure, parseCatsAndRenderers |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CVSVersion
public static final java.lang.String CVSVersion
- See Also:
- Constant Field Values
PropertyConfigurator
public PropertyConfigurator()
doConfigure
public void doConfigure(java.net.URL configURL,
org.apache.log4j.spi.LoggerRepository hierarchy)
- overridden to call configureAndWatch
- Specified by:
doConfigure in interface org.apache.log4j.spi.Configurator- Overrides:
doConfigure in class org.apache.log4j.PropertyConfigurator
- Parameters:
configURL - hierarchy -