|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoggingManagement
Interface for the LoggingManagement MBean
Field Summary | |
---|---|
static List<String> |
COMPOSITE_ITEM_DESCRIPTIONS
|
static List<String> |
COMPOSITE_ITEM_NAMES
|
static String |
LOGGER_LEVEL
|
static String |
LOGGER_NAME
|
static List<String> |
TABULAR_UNIQUE_INDEX
|
static String |
TYPE
|
Method Summary | |
---|---|
String[] |
getAvailableLoggerLevels()
Attribute to represent the available log4j logger output levels. |
String |
getConfigFileRootLoggerLevel()
Attribute to represent the level of the Log4J RootLogger within the xml configuration file |
Integer |
getLog4jLogWatchInterval()
Attribute to represent the log4j xml configuration file's LogWatch interval. |
String |
getRuntimeRootLoggerLevel()
Attribute to represent the level of the active Log4J RootLogger |
void |
reloadConfigFile()
Reloads the log4j configuration file, applying any changes made. |
boolean |
setConfigFileLoggerLevel(String logger,
String level)
Updates the level of an existing Log4J logger within the xml configuration file |
boolean |
setConfigFileRootLoggerLevel(String level)
Updates the level of the Log4J RootLogger within the xml configuration file if it is present |
boolean |
setRuntimeLoggerLevel(String logger,
String level)
Sets the level of an active Log4J logger |
boolean |
setRuntimeRootLoggerLevel(String level)
Sets the level of the active Log4J RootLogger |
TabularData |
viewConfigFileLoggerLevels()
Retrieves a TabularData set of the existing Log4J loggers within the xml configuration file |
TabularData |
viewEffectiveRuntimeLoggerLevels()
Retrieves a TabularData set of the active log4j loggers and their levels |
Field Detail |
---|
static final String TYPE
static final String LOGGER_NAME
static final String LOGGER_LEVEL
static final List<String> COMPOSITE_ITEM_NAMES
static final List<String> COMPOSITE_ITEM_DESCRIPTIONS
static final List<String> TABULAR_UNIQUE_INDEX
Method Detail |
---|
Integer getLog4jLogWatchInterval()
String[] getAvailableLoggerLevels()
boolean setRuntimeLoggerLevel(String logger, String level)
logger
- The name of the loggerlevel
- The level to set the logger to
TabularData viewEffectiveRuntimeLoggerLevels()
boolean setRuntimeRootLoggerLevel(String level)
level
- The level to set the RootLogger to
String getRuntimeRootLoggerLevel()
void reloadConfigFile() throws IOException
IOException
boolean setConfigFileLoggerLevel(String logger, String level) throws IOException
logger
- The name of the loggerlevel
- The level to set the logger to
IOException
- if there is an error parsing the configuration file.TabularData viewConfigFileLoggerLevels() throws IOException
IOException
- if there is an error parsing the configuration file.boolean setConfigFileRootLoggerLevel(String level) throws IOException
level
- The level to set the logger to
IOException
- if there is an error parsing the configuration file.String getConfigFileRootLoggerLevel() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |