Package wt.log4j.jmx

Interface FocusedUserFilterMBean

All Superinterfaces:
SelfEmailingMBean
All Known Implementing Classes:
FocusedUserFilter

public interface FocusedUserFilterMBean extends SelfEmailingMBean
wt.log4j.jmx.LoggingEventFilter for use with wt.log4j.jmx.LoggerRepositoryMonitorMBean. This filter allows the verbosity of all logging that is not unrelated to a specific user of interest to be reduced, thus allowing one to focus on a user of interest. Through the setOtherUserLogLevel() operation one can specify less verbose log levels to apply to various loggers for other users.

Supported API: true

Extendable: false
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds an appender to the set of appenders to which this filter is not applied

    Supported API: true
    void
    Clears the set of appenders to which this filter is not applied

    Supported API: true
    void
    Clear all log level settings for users other than the focus user

    Supported API: true
    Names of appenders to which this filter is not applied

    Supported API: true
    Name of user of interest to focus upon; no logging events are rejected when this is unspecified/null

    Supported API: true
    Name of this filter instance

    Supported API: true
    Log levels that are applied to users other than the focus user

    Supported API: true
    void
    Removes an appender from the set of appenders to which this filter is not applied

    Supported API: true
    void
    setFocusUser(String focusUser)
    Name of user of interest to focus upon; no logging events are rejected when this is unspecified/null

    Supported API: true
    void
    setOtherUserLogLevel(String loggerName, String level)
    Names of appenders to which this filter is not applied

    Supported API: true

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

    emailThisMBean
  • Method Details

    • getName

      String getName()
      Name of this filter instance

      Supported API: true
    • getFocusUser

      String getFocusUser()
      Name of user of interest to focus upon; no logging events are rejected when this is unspecified/null

      Supported API: true
    • setFocusUser

      void setFocusUser(String focusUser)
      Name of user of interest to focus upon; no logging events are rejected when this is unspecified/null

      Supported API: true
    • getOtherUserLogLevelData

      TabularData getOtherUserLogLevelData() throws OpenDataException
      Log levels that are applied to users other than the focus user

      Supported API: true
      Throws:
      OpenDataException
    • getAppendersNotToFilter

      String[] getAppendersNotToFilter()
      Names of appenders to which this filter is not applied

      Supported API: true
    • setOtherUserLogLevel

      @MBeanOperationImpact(1) void setOtherUserLogLevel(String loggerName, String level)
      Names of appenders to which this filter is not applied

      Supported API: true
    • clearOtherUserLogLevels

      @MBeanOperationImpact(1) void clearOtherUserLogLevels()
      Clear all log level settings for users other than the focus user

      Supported API: true
    • addAppenderNotToFilter

      @MBeanOperationImpact(1) void addAppenderNotToFilter(String appenderName)
      Adds an appender to the set of appenders to which this filter is not applied

      Supported API: true
    • removeAppenderNotToFilter

      @MBeanOperationImpact(1) void removeAppenderNotToFilter(String appenderName)
      Removes an appender from the set of appenders to which this filter is not applied

      Supported API: true
    • clearAppendersNotToFilter

      @MBeanOperationImpact(1) void clearAppendersNotToFilter()
      Clears the set of appenders to which this filter is not applied

      Supported API: true