The management interface for the
logging facility.
There is a single global instance of the PlatformLoggingMXBean. The ManagementFactory.getPlatformMXBean method can be used to obtain the PlatformLoggingMXBean object as follows:
PlatformLoggingMXBean logging = ManagementFactory.getPlatformMXBean(PlatformLoggingMXBean.class);
The
PlatformLoggingMXBean object is also registered with the platform
MBeanServer. The
ObjectName for uniquely identifying the
PlatformLoggingMXBean within an MBeanServer is:
java.util.logging:type=Logging