Package wt.log4j.jmx
Interface LoggerMonitorMBean
- All Superinterfaces:
AppenderAttachableMonitorMBean,SelfEmailingMBean
Log4j logger
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether log output is set to parent loggers' appenders or just to this logger's apppendersDeprecated.getLevel()Logging level below which log events are ignored (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified); if blank/unspecified, level is inherited from parent logger as per EFfectiveLevel.getName()Name of logger
Supported API: trueName of parent logger
Supported API: truevoidsetAdditivity(boolean additivity) Whether log output is set to parent loggers' appenders or just to this logger's apppendersvoidLogging level below which log events are ignored (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified); if blank/unspecified, level is inherited from parent logger as per EFfectiveLevel.Methods inherited from interface wt.log4j.jmx.AppenderAttachableMonitorMBean
addAppender, addAppender, getAppenderNames, removeAllAppenders, removeAppenderMethods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
-
Method Details
-
getName
String getName()Name of logger
Supported API: true -
getParent
String getParent()Name of parent logger
Supported API: true -
getEffectiveLevel
Deprecated.Logging level below which log events are ignored
Supported API: true -
getLevel
String getLevel()Logging level below which log events are ignored (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified); if blank/unspecified, level is inherited from parent logger as per EFfectiveLevel.[In practice this MBean is not persisted anyway, but even if it were this attribute would not be persisted.]
Supported API: true -
setLevel
Logging level below which log events are ignored (not persisted with MBean); valid values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF (or blank/unspecified); if blank/unspecified, level is inherited from parent logger as per EFfectiveLevel.[In practice this MBean is not persisted anyway, but even if it were this attribute would not be persisted.]
Supported API: true -
getAdditivity
boolean getAdditivity()Whether log output is set to parent loggers' appenders or just to this logger's apppenders[In practice this MBean is not persisted anyway, but even if it were this attribute would not be persisted.]
Supported API: true -
setAdditivity
void setAdditivity(boolean additivity) Whether log output is set to parent loggers' appenders or just to this logger's apppenders[In practice this MBean is not persisted anyway, but even if it were this attribute would not be persisted.]
Supported API: true
-