ch.qos.logback.classic.jmx
Class Configurator
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.classic.jmx.Configurator
- All Implemented Interfaces:
- ConfiguratorMBean, ContextAware
public class Configurator
- extends ContextAwareBase
- implements ConfiguratorMBean
A class that provides access to logback components via
JMX.
- Author:
- Ceki Gülcü, Sébastien Pennec
Contributor:
Sebastian Davids
See http://bugzilla.qos.ch/show_bug.cgi?id=35
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Configurator
public Configurator(LoggerContext loggerContext)
reload
public void reload()
- Specified by:
reload
in interface ConfiguratorMBean
reload
public void reload(String fileName)
throws JoranException
- Specified by:
reload
in interface ConfiguratorMBean
- Throws:
JoranException
reload
public void reload(URL url)
throws JoranException
- Specified by:
reload
in interface ConfiguratorMBean
- Throws:
JoranException
setLoggerLevel
public void setLoggerLevel(String loggerName,
String levelStr)
- Specified by:
setLoggerLevel
in interface ConfiguratorMBean
getLoggerLevel
public String getLoggerLevel(String loggerName)
- Specified by:
getLoggerLevel
in interface ConfiguratorMBean
getLoggerEffectiveLevel
public String getLoggerEffectiveLevel(String loggerName)
- Specified by:
getLoggerEffectiveLevel
in interface ConfiguratorMBean
getLoggerList
public List<String> getLoggerList()
- Specified by:
getLoggerList
in interface ConfiguratorMBean
getStatuses
public List<String> getStatuses()
- Specified by:
getStatuses
in interface ConfiguratorMBean
Copyright © 2005-2008 QOS.ch. All Rights Reserved.