I wonder if there is not a programmatic way to make log4j aware of configuration changes at runtime. I know I can use
static { PropertyConfigurator.configureAndWatch("log4j.properties", 100); }
in some useful place to look at the properties file for changes, but I would prefer the option inside the properties file itself to tell log4j about the hours for changes. Whether there is a?
Log4j has some JMX functions , which means that you can dynamically configure some functions (in particular, filter at the level).
, , . Appenders , , , / .