java.util.logging
public interface LoggingMXBean
Since: 1.5
Method Summary | |
---|---|
String | getLoggerLevel(String logger)
Return the name of the logging level given the name of
a logger. |
List<String> | getLoggerNames()
Return a list of all logger names. |
String | getParentLoggerName(String logger)
Return the name of the parent of the indicated logger.
|
void | setLoggerLevel(String logger, String level)
Sets the logging level for a particular logger.
|
Parameters: logger the logger's name
Returns: the logging level's name, or null
Parameters: logger the logger's name
Returns: the name of the logger's parent, or null
Parameters: logger the name of the logger level the name of the new logging level, or null
Throws: IllegalArgumentException if the level is not recognized, or if the logger does not exist SecurityException if access is denied; see {@link Logger#setLevel(Level)}