Package wt.log4j.jmx

Interface LoggerMonitorMBean

All Superinterfaces:
AppenderAttachableMonitorMBean, SelfEmailingMBean

public interface LoggerMonitorMBean extends AppenderAttachableMonitorMBean, SelfEmailingMBean
Log4j logger

Supported API: true

Extendable: true
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether log output is set to parent loggers' appenders or just to this logger's apppenders
    Deprecated.
    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.
    Name of logger

    Supported API: true
    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
    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.

    Methods 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 String 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

      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); 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