Package wt.log4j.jmx
Interface FocusedUserFilterMBean
- All Superinterfaces:
SelfEmailingMBean
- All Known Implementing Classes:
FocusedUserFilter
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
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAppenderNotToFilter(String appenderName) Adds an appender to the set of appenders to which this filter is not applied
Supported API: truevoidClears the set of appenders to which this filter is not applied
Supported API: truevoidClear all log level settings for users other than the focus user
Supported API: trueString[]Names of appenders to which this filter is not applied
Supported API: trueName of user of interest to focus upon; no logging events are rejected when this is unspecified/null
Supported API: truegetName()Name of this filter instance
Supported API: trueLog levels that are applied to users other than the focus user
Supported API: truevoidremoveAppenderNotToFilter(String appenderName) Removes an appender from the set of appenders to which this filter is not applied
Supported API: truevoidsetFocusUser(String focusUser) Name of user of interest to focus upon; no logging events are rejected when this is unspecified/null
Supported API: truevoidsetOtherUserLogLevel(String loggerName, String level) Names of appenders to which this filter is not applied
Supported API: trueMethods 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
Name of user of interest to focus upon; no logging events are rejected when this is unspecified/null
Supported API: true -
getOtherUserLogLevelData
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
Names of appenders to which this filter is not applied
Supported API: true -
clearOtherUserLogLevels
Clear all log level settings for users other than the focus user
Supported API: true -
addAppenderNotToFilter
Adds an appender to the set of appenders to which this filter is not applied
Supported API: true -
removeAppenderNotToFilter
Removes an appender from the set of appenders to which this filter is not applied
Supported API: true -
clearAppendersNotToFilter
Clears the set of appenders to which this filter is not applied
Supported API: true
-