Package wt.log4j.jmx

Interface JMXAppenderMonitorMBean

All Superinterfaces:
AppenderMonitorMBean, SelfEmailingMBean

public interface JMXAppenderMonitorMBean extends AppenderMonitorMBean
Log4j JMX appender; produces JMX notifications in response to logging events

Supported API: true

Extendable: true
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Type of notification produced when log4j logging event is received by JMX appender

    Supported API: true
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether detailed data beyond the logger message, as generated by the layout if specified, will be included in the notification as user data

    Supported API: true
    Log4j MDC items to include in output; ignored when not including detailed data; if empty/null, all MDC data will be included

    Supported API: true
    void
    setIncludeDetailedData(boolean includeDetailedData)
    Whether detailed data beyond the logger message, as generated by the layout if specified, will be included in the notification as user data

    Supported API: true
    void
    setMDCItemsToInclude(String mdcItemsToInclude)
    Log4j MDC items to include in output; ignored when not including detailed data; if empty/null, all MDC data will be included

    Supported API: true

    Methods inherited from interface wt.log4j.jmx.AppenderMonitorMBean

    getAppenderClassname, getLayout, isFiltered

    Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean

    emailThisMBean
  • Field Details

    • LOG_EVENT_NOTIF_TYPE

      static final String LOG_EVENT_NOTIF_TYPE
      Type of notification produced when log4j logging event is received by JMX appender

      Supported API: true
  • Method Details

    • getIncludeDetailedData

      boolean getIncludeDetailedData()
      Whether detailed data beyond the logger message, as generated by the layout if specified, will be included in the notification as user data

      Supported API: true
    • setIncludeDetailedData

      void setIncludeDetailedData(boolean includeDetailedData)
      Whether detailed data beyond the logger message, as generated by the layout if specified, will be included in the notification as user data

      Supported API: true
    • getMDCItemsToInclude

      String getMDCItemsToInclude()
      Log4j MDC items to include in output; ignored when not including detailed data; if empty/null, all MDC data will be included

      Supported API: true
    • setMDCItemsToInclude

      void setMDCItemsToInclude(String mdcItemsToInclude)
      Log4j MDC items to include in output; ignored when not including detailed data; if empty/null, all MDC data will be included

      Supported API: true