public interface ComponentLoggerMBean
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName(String logName)
Get the localized display name of the specified logger.
|
String |
getLevel(String logName)
Get the log level of the specified logger.
|
String[] |
getLoggerNames()
Get the names of all loggers controlled by this MBean.
|
int |
setAll(String logName)
Set the log level of the specified logger to ALL.
|
int |
setConfig(String logName)
Set the log level of the specified logger to CONFIG.
|
int |
setDefault(String logName)
Set the log level of the specified logger to the default, which is
null to inherit the parent logger's level.
|
int |
setFine(String logName)
Set the log level of the specified logger to FINE.
|
int |
setFiner(String logName)
Set the log level of the specified logger to FINER.
|
int |
setFinest(String logName)
Set the log level of the specified logger to FINEST.
|
int |
setInfo(String logName)
Set the log level of the specified logger to INFO.
|
int |
setOff(String logName)
Set the log level of the specified logger to OFF.
|
int |
setSevere(String logName)
Set the log level of the specified logger to SEVERE.
|
int |
setWarning(String logName)
Set the log level of the specified logger to WARNING.
|
String getDisplayName(String logName)
String getLevel(String logName) throws JBIException
logName - the name of the logger.JBIException - if the logger is not found.String[] getLoggerNames()
int setAll(String logName) throws JBIException
logName - the logger name.JBIException - if the logger is not found.int setConfig(String logName) throws JBIException
logName - the logger name.JBIException - if the logger is not found.int setDefault(String logName) throws JBIException
logName - the logger name.JBIException - if the logger is not found.int setFine(String logName) throws JBIException
logName - the logger name.JBIException - if the logger is not found.int setFiner(String logName) throws JBIException
logName - the logger name.JBIException - if the logger is not found.int setFinest(String logName) throws JBIException
logName - the logger name.JBIException - if the logger is not found.int setInfo(String logName) throws JBIException
logName - the logger name.JBIException - if the logger is not found.int setOff(String logName) throws JBIException
logName - the logger name.JBIException - if the logger is not found.int setSevere(String logName) throws JBIException
logName - the logger name.JBIException - if the logger is not found.int setWarning(String logName) throws JBIException
logName - the logger name.JBIException - if the logger is not found.Copyright © 2011-2016 OpenESB Community. All Rights Reserved.