wt.log4j.jmx
Interface LoggerMonitorMBean

All Superinterfaces:
AppenderAttachableMonitorMBean, SelfEmailingMBean

public interface LoggerMonitorMBean
extends AppenderAttachableMonitorMBean, SelfEmailingMBean

Log4j logger

Supported API: true

Extendable: true


Method Summary
 boolean getAdditivity()
          Whether log output is set to parent loggers' appenders or just to this logger's apppenders
 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)
 String getName()
          Name of logger

Supported API: true
 String getParent()
          Name of parent logger

Supported API: true
 void setAdditivity(boolean additivity)
          Whether log output is set to parent loggers' appenders or just to this logger's apppenders
 void setLevel(String level)
          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)
 
Methods inherited from interface wt.log4j.jmx.AppenderAttachableMonitorMBean
addAppender, addAppender, getAppenderNames, removeAllAppenders, removeAppender
 
Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
 

Method Detail

getName

String getName()
Name of logger

Supported API: true


getParent

String getParent()
Name of parent logger

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)

[In practice this MBean is not persisted anyway, but even if it were this attribute would not be persisted.]

Supported API: true


setLevel

void setLevel(String level)
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)

[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