Interface LogConfiguratorMXBean
- All Known Implementing Classes:
Log4jConfigurator
public interface LogConfiguratorMXBean
A JMX MBean interface for monitoring and controlling logging.
- Author:
- RealLifeDeveloper
-
Method Summary
Modifier and TypeMethodDescriptionGives a list with the names of the loggers defined.getLogLevel(String loggerName) Gives the log level of the named logger.voidsetLogLevel(String loggerName, String level) Sets the log level of the named logger.
-
Method Details
-
getLoggers
Gives a list with the names of the loggers defined.- Returns:
- a list with the logger names
-
getLogLevel
Gives the log level of the named logger.- Parameters:
loggerName- the name of the logger- Returns:
- the log level of
logger
-
setLogLevel
Sets the log level of the named logger.- Parameters:
loggerName- the name of the loggerlevel- the new log level
-