org.apache.zookeeper.jmx
Class ManagedUtil
java.lang.Object
org.apache.zookeeper.jmx.ManagedUtil
public class ManagedUtil
- extends Object
Shared utilities
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedUtil
public ManagedUtil()
registerLog4jMBeans
public static void registerLog4jMBeans()
throws JMException
- Register the log4j JMX mbeans. Set environment variable
"zookeeper.jmx.log4j.disable" to true to disable registration.
- Throws:
JMException
- if registration fails- See Also:
http://logging.apache.org/log4j/1.2/apidocs/index.html?org/apache/log4j/jmx/package-summary.html