Uses of Interface
org.apache.logging.log4j.core.Filter

Packages that use Filter
org.apache.logging.log4j.core Implementation of Log4j 2.0. 
org.apache.logging.log4j.core.appender Log4j 2.0 Appenders. 
org.apache.logging.log4j.core.appender.db The classes in this package and sub packages provide appenders for various types of databases and methods for accessing databases. 
org.apache.logging.log4j.core.appender.db.jdbc The JDBC Appender supports writing log events to a relational database using standard JDBC connections. 
org.apache.logging.log4j.core.appender.db.jpa The JPA Appender supports writing log events to a relational database using the Java Persistence API. 
org.apache.logging.log4j.core.appender.jms Appender classes for using JMS. 
org.apache.logging.log4j.core.appender.rewrite Apache Flume Appender. 
org.apache.logging.log4j.core.appender.routing Apache Flume Appender. 
org.apache.logging.log4j.core.async Provides Asynchronous Logger classes and interfaces for low-latency logging. 
org.apache.logging.log4j.core.config Configuration of Log4j 2.0. 
org.apache.logging.log4j.core.filter Log4j 2.0 Filter support. 
 

Uses of Filter in org.apache.logging.log4j.core
 

Methods in org.apache.logging.log4j.core that return types with arguments of type Filter
 Iterator<Filter> Logger.getFilters()
          This method is not exposed through the public API and is used primarily for unit testing.
 

Methods in org.apache.logging.log4j.core with parameters of type Filter
 void LoggerContext.addFilter(Filter filter)
          Add a Filter to the Configuration.
 void Logger.addFilter(Filter filter)
          This method is not exposed through the public API and is used primarily for unit testing.
 void LoggerContext.removeFilter(Filter filter)
          Removes a Filter from the current Configuration.
 

Uses of Filter in org.apache.logging.log4j.core.appender
 

Methods in org.apache.logging.log4j.core.appender with parameters of type Filter
static AsyncAppender AsyncAppender.createAppender(AppenderRef[] appenderRefs, String errorRef, boolean blocking, int size, String name, boolean includeLocation, Filter filter, Configuration config, boolean ignoreExceptions)
          Create an AsyncAppender.
static ConsoleAppender ConsoleAppender.createAppender(Layout<? extends Serializable> layout, Filter filter, String targetStr, String name, String follow, String ignore)
          Create a Console Appender.
static SyslogAppender SyslogAppender.createAppender(String host, int port, String protocolStr, SslConfiguration sslConfig, int reconnectionDelay, boolean immediateFail, String name, boolean immediateFlush, boolean ignoreExceptions, Facility facility, String id, int enterpriseNumber, boolean includeMdc, String mdcId, String mdcPrefix, String eventPrefix, boolean newLine, String escapeNL, String appName, String msgId, String excludes, String includes, String required, String format, Filter filter, Configuration config, Charset charsetName, String exceptionPattern, LoggerFields[] loggerFields, boolean advertise)
          Create a SyslogAppender.
static FailoverAppender FailoverAppender.createAppender(String name, String primary, String[] failovers, String retryIntervalString, Configuration config, Filter filter, String ignore)
          Create a Failover Appender.
static SocketAppender SocketAppender.createAppender(String host, String portNum, String protocolStr, SslConfiguration sslConfig, String delay, String immediateFail, String name, String immediateFlush, String ignore, Layout<? extends Serializable> layout, Filter filter, String advertise, Configuration config)
           
static RandomAccessFileAppender RandomAccessFileAppender.createAppender(String fileName, String append, String name, String immediateFlush, String bufferSizeStr, String ignore, Layout<? extends Serializable> layout, Filter filter, String advertise, String advertiseURI, Configuration config)
          Create a File Appender.
static FileAppender FileAppender.createAppender(String fileName, String append, String locking, String name, String immediateFlush, String ignore, String bufferedIo, String bufferSizeStr, Layout<? extends Serializable> layout, Filter filter, String advertise, String advertiseUri, Configuration config)
          Create a File Appender.
static SmtpAppender SmtpAppender.createAppender(String name, String to, String cc, String bcc, String from, String replyTo, String subject, String smtpProtocol, String smtpHost, String smtpPortStr, String smtpUsername, String smtpPassword, String smtpDebug, String bufferSizeStr, Layout<? extends Serializable> layout, Filter filter, String ignore)
          Create a SmtpAppender.
static RollingFileAppender RollingFileAppender.createAppender(String fileName, String filePattern, String append, String name, String bufferedIO, String bufferSizeStr, String immediateFlush, TriggeringPolicy policy, RolloverStrategy strategy, Layout<? extends Serializable> layout, Filter filter, String ignore, String advertise, String advertiseURI, Configuration config)
          Create a RollingFileAppender.
static RollingRandomAccessFileAppender RollingRandomAccessFileAppender.createAppender(String fileName, String filePattern, String append, String name, String immediateFlush, String bufferSizeStr, TriggeringPolicy policy, RolloverStrategy strategy, Layout<? extends Serializable> layout, Filter filter, String ignore, String advertise, String advertiseURI, Configuration config)
          Create a RollingRandomAccessFileAppender.
 

Constructors in org.apache.logging.log4j.core.appender with parameters of type Filter
AbstractAppender(String name, Filter filter, Layout<? extends Serializable> layout)
          Constructor that defaults to suppressing exceptions.
AbstractAppender(String name, Filter filter, Layout<? extends Serializable> layout, boolean ignoreExceptions)
          Constructor.
AbstractOutputStreamAppender(String name, Layout<? extends Serializable> layout, Filter filter, boolean ignoreExceptions, boolean immediateFlush, M manager)
          Instantiate a WriterAppender and set the output destination to a new OutputStreamWriter initialized with os as its OutputStream.
SocketAppender(String name, Layout<? extends Serializable> layout, Filter filter, AbstractSocketManager manager, boolean ignoreExceptions, boolean immediateFlush, Advertiser advertiser)
           
SyslogAppender(String name, Layout<? extends Serializable> layout, Filter filter, boolean ignoreExceptions, boolean immediateFlush, AbstractSocketManager manager, Advertiser advertiser)
           
 

Uses of Filter in org.apache.logging.log4j.core.appender.db
 

Constructors in org.apache.logging.log4j.core.appender.db with parameters of type Filter
AbstractDatabaseAppender(String name, Filter filter, boolean ignoreExceptions, T manager)
          Instantiates the base appender.
 

Uses of Filter in org.apache.logging.log4j.core.appender.db.jdbc
 

Methods in org.apache.logging.log4j.core.appender.db.jdbc with parameters of type Filter
static JdbcAppender JdbcAppender.createAppender(String name, String ignore, Filter filter, ConnectionSource connectionSource, String bufferSize, String tableName, ColumnConfig[] columnConfigs)
          Factory method for creating a JDBC appender within the plugin manager.
 

Uses of Filter in org.apache.logging.log4j.core.appender.db.jpa
 

Methods in org.apache.logging.log4j.core.appender.db.jpa with parameters of type Filter
static JpaAppender JpaAppender.createAppender(String name, String ignore, Filter filter, String bufferSize, String entityClassName, String persistenceUnitName)
          Factory method for creating a JPA appender within the plugin manager.
 

Uses of Filter in org.apache.logging.log4j.core.appender.jms
 

Methods in org.apache.logging.log4j.core.appender.jms with parameters of type Filter
static JmsTopicAppender JmsTopicAppender.createAppender(String name, String factoryName, String providerURL, String urlPkgPrefixes, String securityPrincipalName, String securityCredentials, String factoryBindingName, String topicBindingName, String userName, String password, Layout<? extends Serializable> layout, Filter filter, String ignore)
          Create a JmsTopicAppender.
static JmsQueueAppender JmsQueueAppender.createAppender(String name, String factoryName, String providerURL, String urlPkgPrefixes, String securityPrincipalName, String securityCredentials, String factoryBindingName, String queueBindingName, String userName, String password, Layout<? extends Serializable> layout, Filter filter, String ignore)
          Create a JmsQueueAppender.
 

Uses of Filter in org.apache.logging.log4j.core.appender.rewrite
 

Methods in org.apache.logging.log4j.core.appender.rewrite with parameters of type Filter
static RewriteAppender RewriteAppender.createAppender(String name, String ignore, AppenderRef[] appenderRefs, Configuration config, RewritePolicy rewritePolicy, Filter filter)
          Create a RewriteAppender.
 

Uses of Filter in org.apache.logging.log4j.core.appender.routing
 

Methods in org.apache.logging.log4j.core.appender.routing with parameters of type Filter
static RoutingAppender RoutingAppender.createAppender(String name, String ignore, Routes routes, Configuration config, RewritePolicy rewritePolicy, Filter filter)
          Create a RoutingAppender.
 

Uses of Filter in org.apache.logging.log4j.core.async
 

Methods in org.apache.logging.log4j.core.async with parameters of type Filter
static LoggerConfig AsyncLoggerConfig.RootLogger.createLogger(String additivity, String levelName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
           
static LoggerConfig AsyncLoggerConfig.createLogger(String additivity, String levelName, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
          Factory method to create a LoggerConfig.
 

Constructors in org.apache.logging.log4j.core.async with parameters of type Filter
AsyncLoggerConfig(String name, List<AppenderRef> appenders, Filter filter, org.apache.logging.log4j.Level level, boolean additive, Property[] properties, Configuration config, boolean includeLocation)
           
 

Uses of Filter in org.apache.logging.log4j.core.config
 

Methods in org.apache.logging.log4j.core.config that return Filter
 Filter LoggerConfig.getFilter()
           
 Filter AppenderRef.getFilter()
           
 

Methods in org.apache.logging.log4j.core.config with parameters of type Filter
 void LoggerConfig.addAppender(Appender appender, org.apache.logging.log4j.Level level, Filter filter)
          Adds an Appender to the LoggerConfig.
 void Configuration.addLoggerFilter(Logger logger, Filter filter)
           
 void AbstractConfiguration.addLoggerFilter(Logger logger, Filter filter)
          Associates a Filter with a LoggerConfig.
static AppenderRef AppenderRef.createAppenderRef(String ref, org.apache.logging.log4j.Level level, Filter filter)
          Create an Appender reference.
static LoggerConfig LoggerConfig.RootLogger.createLogger(String additivity, org.apache.logging.log4j.Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
           
static LoggerConfig LoggerConfig.createLogger(String additivity, org.apache.logging.log4j.Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
          Factory method to create a LoggerConfig.
 

Constructors in org.apache.logging.log4j.core.config with parameters of type Filter
AppenderControl(Appender appender, org.apache.logging.log4j.Level level, Filter filter)
          Constructor.
LoggerConfig(String name, List<AppenderRef> appenders, Filter filter, org.apache.logging.log4j.Level level, boolean additive, Property[] properties, Configuration config, boolean includeLocation)
           
 

Uses of Filter in org.apache.logging.log4j.core.filter
 

Classes in org.apache.logging.log4j.core.filter that implement Filter
 class AbstractFilter
          Users should extend this class to implement filters.
 class BurstFilter
          The BurstFilter is a logging filter that regulates logging traffic.
 class CompositeFilter
          Composes and invokes one or more filters.
 class DynamicThresholdFilter
          Compare against a log level that is associated with an MDC 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 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.
 

Methods in org.apache.logging.log4j.core.filter that return Filter
 Filter Filterable.getFilter()
          Returns an Iterator for all the Filters.
 Filter AbstractFilterable.getFilter()
          Returns the Filter.
 

Methods in org.apache.logging.log4j.core.filter that return types with arguments of type Filter
 List<Filter> CompositeFilter.getFilters()
           
 Iterator<Filter> CompositeFilter.iterator()
           
 

Methods in org.apache.logging.log4j.core.filter with parameters of type Filter
 void Filterable.addFilter(Filter filter)
          Adds a new Filter.
 CompositeFilter CompositeFilter.addFilter(Filter filter)
           
 void AbstractFilterable.addFilter(Filter filter)
          Adds a filter.
static CompositeFilter CompositeFilter.createFilters(Filter[] filters)
          Create a CompositeFilter.
 void Filterable.removeFilter(Filter filter)
          Removes a Filter.
 CompositeFilter CompositeFilter.removeFilter(Filter filter)
           
 void AbstractFilterable.removeFilter(Filter filter)
          Removes a Filter.
 

Constructors in org.apache.logging.log4j.core.filter with parameters of type Filter
AbstractFilterable(Filter filter)
           
 



Copyright © 1999-2014 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.