public class Log4jConfigurator extends Object implements Log4jConfiguratorMXBean
| Constructor and Description |
|---|
Log4jConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getLoggers()
list of all the logger names and their levels
|
String |
getLogLevel(String logger)
Get the log level for a given logger
|
void |
setLogLevel(String logger,
String level)
Set the log level for a given logger
|
public String[] getLoggers()
Log4jConfiguratorMXBeangetLoggers in interface Log4jConfiguratorMXBeanpublic String getLogLevel(String logger)
Log4jConfiguratorMXBeangetLogLevel in interface Log4jConfiguratorMXBeanpublic void setLogLevel(String logger, String level)
Log4jConfiguratorMXBeansetLogLevel in interface Log4jConfiguratorMXBeanCopyright © 2007–2020 Ikasan. All rights reserved.