public class LoggingManagementMBean extends AMQManagedObject implements LoggingManagement
COMPOSITE_ITEM_DESCRIPTIONS, COMPOSITE_ITEM_NAMES, LOGGER_LEVEL, LOGGER_NAME, TABULAR_UNIQUE_INDEX, TYPEDOMAIN| Constructor and Description |
|---|
LoggingManagementMBean(BrokerFileLogger brokerFileLogger,
ManagedObjectRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAvailableLoggerLevels() |
String |
getConfigFileRootLoggerLevel() |
Integer |
getLog4jLogWatchInterval() |
String |
getObjectInstanceName() |
ManagedObject |
getParentObject() |
String |
getRuntimeRootLoggerLevel() |
void |
reloadConfigFile() |
boolean |
setConfigFileLoggerLevel(String logger,
String level) |
boolean |
setConfigFileRootLoggerLevel(String level) |
boolean |
setRuntimeLoggerLevel(String logger,
String level) |
boolean |
setRuntimeRootLoggerLevel(String level) |
TabularData |
viewConfigFileLoggerLevels() |
TabularData |
viewEffectiveRuntimeLoggerLevels() |
addNotificationListener, getBroadcaster, incrementAndGetSequenceNumber, removeNotificationListenergetHierarchicalName, getHierarchicalType, getManagementInterface, getMBeanInfo, getNotificationInfo, getObjectName, getObjectNameForSingleInstanceMBean, getRegistry, getType, register, toString, unregistercacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNotificationInfopublic LoggingManagementMBean(BrokerFileLogger brokerFileLogger, ManagedObjectRegistry registry) throws JMException
JMExceptionpublic String getObjectInstanceName()
getObjectInstanceName in interface ManagedObjectpublic ManagedObject getParentObject()
getParentObject in interface ManagedObjectgetParentObject in class DefaultManagedObjectpublic Integer getLog4jLogWatchInterval()
getLog4jLogWatchInterval in interface LoggingManagementpublic String[] getAvailableLoggerLevels()
getAvailableLoggerLevels in interface LoggingManagementpublic TabularData viewEffectiveRuntimeLoggerLevels()
viewEffectiveRuntimeLoggerLevels in interface LoggingManagementpublic String getRuntimeRootLoggerLevel()
getRuntimeRootLoggerLevel in interface LoggingManagementpublic boolean setRuntimeRootLoggerLevel(String level)
setRuntimeRootLoggerLevel in interface LoggingManagementpublic boolean setRuntimeLoggerLevel(String logger, String level)
setRuntimeLoggerLevel in interface LoggingManagementpublic TabularData viewConfigFileLoggerLevels()
viewConfigFileLoggerLevels in interface LoggingManagementpublic String getConfigFileRootLoggerLevel() throws IOException
getConfigFileRootLoggerLevel in interface LoggingManagementIOExceptionpublic boolean setConfigFileLoggerLevel(String logger, String level)
setConfigFileLoggerLevel in interface LoggingManagementpublic boolean setConfigFileRootLoggerLevel(String level)
setConfigFileRootLoggerLevel in interface LoggingManagementpublic void reloadConfigFile()
throws IOException
reloadConfigFile in interface LoggingManagementIOExceptionCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.