Uses of Class
org.apache.log4j.spi.Filter
Packages that use Filter
Package
Description
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
Log4j 1.x compatibility layer.
-
Uses of Filter in org.apache.log4j
Fields in org.apache.log4j declared as FilterModifier and TypeFieldDescriptionprotected FilterAppenderSkeleton.headFilterprotected FilterAppenderSkeleton.tailFilterMethods in org.apache.log4j that return FilterModifier and TypeMethodDescriptionAppender.getFilter()Returns the head Filter.AppenderSkeleton.getFilter()final FilterAppenderSkeleton.getFirstFilter()Methods in org.apache.log4j with parameters of type Filter -
Uses of Filter in org.apache.log4j.bridge
Subclasses of Filter in org.apache.log4j.bridgeModifier and TypeClassDescriptionclassThis acts as a container for Log4j 2 Filters to be attached to Log4j 1 components.Fields in org.apache.log4j.bridge declared as FilterMethods in org.apache.log4j.bridge that return FilterModifier and TypeMethodDescriptionstatic FilterAppends one filter to another using Log4j 2.x concatenation utilities.AppenderWrapper.getFilter()FilterAdapter.getFilter()Gets the actual filter.Methods in org.apache.log4j.bridge with parameters of type FilterModifier and TypeMethodDescriptionvoidstatic FilterAppends one filter to another using Log4j 2.x concatenation utilities.static FilterFilterAdapter.convertFilter(Filter filter) Converts a Log4j 1.x filter into a Log4j 2.x filter.Constructors in org.apache.log4j.bridge with parameters of type Filter -
Uses of Filter in org.apache.log4j.builders
Methods in org.apache.log4j.builders that return FilterModifier and TypeMethodDescriptionBuilderManager.parseFilter(String className, Element filterElement, XmlConfiguration config) Methods in org.apache.log4j.builders with parameters of type FilterModifier and TypeMethodDescriptionprotected static FilterAbstractBuilder.buildFilters(String level, Filter filter) -
Uses of Filter in org.apache.log4j.builders.appender
Methods in org.apache.log4j.builders.appender with parameters of type FilterModifier and TypeMethodDescriptionprivate <T extends Log4j1Configuration>
AppenderAsyncAppenderBuilder.createAppender(String name, String level, String[] appenderRefs, boolean blocking, int bufferSize, boolean includeLocation, Filter filter, T configuration) private <T extends Log4j1Configuration>
AppenderConsoleAppenderBuilder.createAppender(String name, Layout layout, Filter filter, String level, String target, boolean immediateFlush, boolean follow, T configuration) private <T extends Log4j1Configuration>
AppenderDailyRollingFileAppenderBuilder.createAppender(String name, Layout layout, Filter filter, String fileName, boolean append, boolean immediateFlush, String level, boolean bufferedIo, int bufferSize, String datePattern, T configuration) private AppenderFileAppenderBuilder.createAppender(String name, Log4j1Configuration configuration, Layout layout, Filter filter, String fileName, String level, boolean immediateFlush, boolean append, boolean bufferedIo, int bufferSize) private <T extends Log4j1Configuration>
AppenderRewriteAppenderBuilder.createAppender(String name, String level, String[] appenderRefs, RewritePolicy policy, Filter filter, T configuration) private AppenderRollingFileAppenderBuilder.createAppender(String name, Log4j1Configuration config, Layout layout, Filter filter, boolean append, boolean bufferedIo, int bufferSize, boolean immediateFlush, String fileName, String level, String maxSize, String maxBackups) private <T extends Log4j1Configuration>
AppenderSocketAppenderBuilder.createAppender(String name, String host, int port, Layout layout, Filter filter, String level, boolean immediateFlush, int reconnectDelayMillis, T configuration) private AppenderSyslogAppenderBuilder.createAppender(String name, Log4j1Configuration configuration, Layout layout, String facility, Filter filter, String syslogHost, String level, Protocol protocol) -
Uses of Filter in org.apache.log4j.builders.filter
Methods in org.apache.log4j.builders.filter that return FilterModifier and TypeMethodDescriptionprivate FilterLevelMatchFilterBuilder.createFilter(String level, boolean acceptOnMatch) private FilterLevelRangeFilterBuilder.createFilter(String levelMax, String levelMin, boolean acceptOnMatch) private FilterStringMatchFilterBuilder.createFilter(String text, boolean acceptOnMatch) DenyAllFilterBuilder.parse(PropertiesConfiguration config) DenyAllFilterBuilder.parse(Element filterElement, XmlConfiguration config) LevelMatchFilterBuilder.parse(PropertiesConfiguration config) LevelMatchFilterBuilder.parse(Element filterElement, XmlConfiguration config) LevelRangeFilterBuilder.parse(PropertiesConfiguration config) LevelRangeFilterBuilder.parse(Element filterElement, XmlConfiguration config) StringMatchFilterBuilder.parse(PropertiesConfiguration config) StringMatchFilterBuilder.parse(Element filterElement, XmlConfiguration config) -
Uses of Filter in org.apache.log4j.config
Methods in org.apache.log4j.config that return FilterModifier and TypeMethodDescriptionprivate FilterPropertiesConfiguration.buildFilter(String className, String appenderName, List<PropertiesConfiguration.NameValue> props) PropertiesConfiguration.parseAppenderFilters(Properties props, String filterPrefix, String appenderName) -
Uses of Filter in org.apache.log4j.spi
Fields in org.apache.log4j.spi declared as FilterMethods in org.apache.log4j.spi that return FilterMethods in org.apache.log4j.spi with parameters of type Filter -
Uses of Filter in org.apache.log4j.varia
Subclasses of Filter in org.apache.log4j.variaModifier and TypeClassDescriptionclassDenies all logging events.classSimple filter based on level matching.classThis is a very simple filter based on level matching, which can be used to reject messages with priorities outside a certain range.classSimple filter based on string matching. -
Uses of Filter in org.apache.log4j.xml
Methods in org.apache.log4j.xml that return FilterModifier and TypeMethodDescriptionprivate FilterXmlConfiguration.buildFilter(String className, Element filterElement) XmlConfiguration.parseFilters(Element filterElement) Used internally to parse a filter element.Method parameters in org.apache.log4j.xml with type arguments of type FilterModifier and TypeMethodDescriptionvoidXmlConfiguration.addFilter(AtomicReference<Filter> ref, Element filterElement) Used internally to parse a filter element.
getNext()andsetNext(org.apache.log4j.spi.Filter)instead