Dynamic Java Log Levels with JMX/LoggingMXBean, JConsole, VisualVM, and Groovy
One of the most popular uses of JMX is to change the logging level of an executing Java application that utilizes Java's built-in logging (java.util.logging). This is made possible by the platform MBean server and the built-in LoggingMXBean. As an example of this, consider the simple Java class below.
Read full article from Inspired by Actual Events: Dynamic Java Log Levels with JMX/LoggingMXBean, JConsole, VisualVM, and Groovy
No comments:
Post a Comment