Package | Description |
---|---|
org.apache.log4j.bridge | |
org.apache.logging.log4j.core.filter |
Log4j 2 Filter support.
|
Modifier and Type | Class and Description |
---|---|
class |
FilterAdapter
Binds a Log4j 1.x Filter with Log4j 2.
|
Modifier and Type | Class and Description |
---|---|
class |
BurstFilter
The
BurstFilter is a logging filter that regulates logging traffic. |
class |
DenyAllFilter
This filter causes all logging events to be dropped.
|
class |
DynamicThresholdFilter
Compares against a log level that is associated with a context value.
|
class |
LevelMatchFilter
This filter returns the onMatch result if the logging level in the event matches the specified logging level
exactly.
|
class |
LevelRangeFilter
This filter returns the
onMatch result if the level in the LogEvent is in the range of the configured
min and max levels, otherwise it returns onMismatch value . |
class |
MapFilter
A Filter that operates on a Map.
|
class |
MarkerFilter
This filter returns the onMatch result if the marker in the LogEvent is the same as or has the
configured marker as a parent.
|
class |
NoMarkerFilter
This filter returns the onMatch result if there is no marker in the LogEvent.
|
class |
RegexFilter
This filter returns the onMatch result if the message matches the regular expression.
|
class |
ScriptFilter
Returns the onMatch result if the script returns True and returns the onMismatch value otherwise.
|
class |
StringMatchFilter
This filter returns the onMatch result if the logging level in the event matches the specified logging level
exactly.
|
class |
StructuredDataFilter
Filter based on data in a StructuredDataMessage.
|
class |
ThreadContextMapFilter
Filter based on a value in the Thread Context Map (MDC).
|
class |
ThresholdFilter
This filter returns the onMatch result if the level in the LogEvent is the same or more specific
than the configured level and the onMismatch value otherwise.
|
class |
TimeFilter
Filters events that fall within a specified time period in each day.
|