Logging
The Logging MBean provides the ability to examine and dynamically change the log4j logging configuration.
The Logging MBean itself can detect when the log4j configuration file has changed and apply the altered configuration. It cannot save a log4j configuration change made via JMX back to the logging configuration file. Instead changes made to the logging configuration via JMX are for the life span of the target JVM only.
To make permanent changes to a log file, refer to
Using MBeans to Work with Log Files for further instructions.