Package | Description |
---|---|
org.apache.log4j |
Log4j 1.x compatibility layer.
|
org.apache.log4j.bridge | |
org.apache.log4j.builders | |
org.apache.log4j.builders.filter | |
org.apache.log4j.config |
Log4j 1.x compatibility layer.
|
org.apache.log4j.spi |
Log4j 1.x compatibility layer.
|
org.apache.log4j.varia | |
org.apache.log4j.xml |
Log4j 1.x compatibility layer.
|
Modifier and Type | Field and Description |
---|---|
protected Filter |
AppenderSkeleton.headFilter |
protected Filter |
AppenderSkeleton.tailFilter |
Modifier and Type | Method and Description |
---|---|
Filter |
Appender.getFilter()
Returns the head Filter.
|
Filter |
AppenderSkeleton.getFilter() |
Filter |
AppenderSkeleton.getFirstFilter() |
Modifier and Type | Method and Description |
---|---|
void |
Appender.addFilter(Filter newFilter)
Add a filter to the end of the filter list.
|
void |
AppenderSkeleton.addFilter(Filter newFilter) |
Modifier and Type | Class and Description |
---|---|
class |
FilterWrapper
This acts as a container for Log4j 2 Filters to be attached to Log4j 1 components.
|
Modifier and Type | Method and Description |
---|---|
static Filter |
FilterAdapter.addFilter(Filter first,
Filter second)
Appends one filter to another using Log4j 2.x concatenation utilities.
|
Filter |
FilterAdapter.getFilter()
Gets the actual filter.
|
Filter |
AppenderWrapper.getFilter() |
Modifier and Type | Method and Description |
---|---|
void |
AppenderWrapper.addFilter(Filter newFilter) |
static Filter |
FilterAdapter.addFilter(Filter first,
Filter second)
Appends one filter to another using Log4j 2.x concatenation utilities.
|
static Filter |
FilterAdapter.convertFilter(Filter filter)
Converts a Log4j 1.x filter into a Log4j 2.x filter.
|
Constructor and Description |
---|
FilterAdapter(Filter filter) |
Modifier and Type | Method and Description |
---|---|
Filter |
BuilderManager.parseFilter(String className,
Element filterElement,
XmlConfiguration config) |
Modifier and Type | Method and Description |
---|---|
protected static Filter |
AbstractBuilder.buildFilters(String level,
Filter filter) |
Modifier and Type | Method and Description |
---|---|
Filter |
LevelRangeFilterBuilder.parse(Element filterElement,
XmlConfiguration config) |
Filter |
StringMatchFilterBuilder.parse(Element filterElement,
XmlConfiguration config) |
Filter |
LevelMatchFilterBuilder.parse(Element filterElement,
XmlConfiguration config) |
Filter |
DenyAllFilterBuilder.parse(Element filterElement,
XmlConfiguration config) |
Filter |
LevelRangeFilterBuilder.parse(PropertiesConfiguration config) |
Filter |
StringMatchFilterBuilder.parse(PropertiesConfiguration config) |
Filter |
LevelMatchFilterBuilder.parse(PropertiesConfiguration config) |
Filter |
DenyAllFilterBuilder.parse(PropertiesConfiguration config) |
Modifier and Type | Method and Description |
---|---|
Filter |
PropertiesConfiguration.parseAppenderFilters(Properties props,
String filterPrefix,
String appenderName) |
Modifier and Type | Field and Description |
---|---|
Filter |
Filter.next
Deprecated.
As of 1.2.12, use
getNext() and setNext(org.apache.log4j.spi.Filter) instead |
Modifier and Type | Method and Description |
---|---|
Filter |
Filter.getNext()
Return the pointer to the next filter.
|
Modifier and Type | Method and Description |
---|---|
void |
Filter.setNext(Filter next)
Set the next filter pointer.
|
Modifier and Type | Class and Description |
---|---|
class |
DenyAllFilter
Denies all logging events.
|
class |
LevelMatchFilter
Simple filter based on level matching.
|
class |
LevelRangeFilter
This is a very simple filter based on level matching, which can be used to reject messages with priorities outside a
certain range.
|
class |
StringMatchFilter
Simple filter based on string matching.
|
Modifier and Type | Method and Description |
---|---|
Filter |
XmlConfiguration.parseFilters(Element filterElement)
Used internally to parse a filter element.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlConfiguration.addFilter(AtomicReference<Filter> ref,
Element filterElement)
Used internally to parse a filter element.
|
Copyright © 1999-2023 The Apache Software Foundation. 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.