Package | Description |
---|---|
org.apache.logging.log4j.core.filter |
Log4j 2 Filter support.
|
Modifier and Type | Class | Description |
---|---|---|
class |
BurstFilter |
The
BurstFilter is a logging filter that regulates logging traffic. |
class |
DynamicThresholdFilter |
Compares against a log level that is associated with a context value.
|
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 |
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 |
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.
|
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.