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.rewrite Apache Flume Appender. 
org.apache.logging.log4j.core.appender.routing Apache Flume Appender. 
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.removeFiler(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
<S extends Serializable>
AsynchAppender<S>
AsynchAppender.createAppender(AppenderRef[] appenderRefs, String errorRef, String blocking, String size, String name, Filter filter, Configuration config, String suppress)
          Create an AsynchAppender.
static ConsoleAppender ConsoleAppender.createAppender(Layout layout, Filter filter, String t, String name, String follow, String suppress)
          Create a Console Appender.
static FailoverAppender FailoverAppender.createAppender(String name, String primary, String[] failovers, String interval, Configuration config, Filter filter, String suppress)
          Create a Failover Appender.
static SocketAppender SocketAppender.createAppender(String host, String portNum, String protocol, String delay, String name, String immediateFlush, String suppress, Layout layout, Filter filter)
           
static FileAppender FileAppender.createAppender(String fileName, String append, String locking, String name, String immediateFlush, String suppress, String bufferedIO, Layout layout, Filter filter)
          Create a File Appender.
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 layout, Filter filter, String suppress)
          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 layout, Filter filter, String suppress)
          Create a JMSQueueAppender.
static SMTPAppender SMTPAppender.createAppender(String name, String to, String cc, String bcc, String from, String replyTo, String subject, String smtpProtocol, String smtpHost, String smtpPortNum, String smtpUsername, String smtpPassword, String smtpDebug, String bufferSizeNum, Layout<?> layout, Filter filter, String suppressExceptions)
          Create a SMTPAppender.
static SyslogAppender SyslogAppender.createAppender(String host, String portNum, String protocol, String delay, String name, String immediateFlush, String suppress, String facility, String id, String ein, String includeMDC, String mdcId, String includeNL, String escapeNL, String appName, String msgId, String excludes, String includes, String required, String format, Filter filter, Configuration config, String charsetName, String exceptionPattern)
          Create a SyslogAppender.
static RollingFileAppender RollingFileAppender.createAppender(String fileName, String filePattern, String append, String name, String bufferedIO, String immediateFlush, TriggeringPolicy policy, RolloverStrategy strategy, Layout layout, Filter filter, String suppress, Configuration config)
          Create a RollingFileAppender.
 

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

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 suppress, 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 suppress, Routes routes, Configuration config, RewritePolicy rewritePolicy, Filter filter)
          Create a RoutingAppender.
 

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, Level level, Filter filter)
          Adds an Appender to the LoggerConfig.
 void Configuration.addLoggerFilter(Logger logger, Filter filter)
           
 void BaseConfiguration.addLoggerFilter(Logger logger, Filter filter)
          Associates a Filter with a LoggerConfig.
static AppenderRef AppenderRef.createAppenderRef(String ref, String levelName, Filter filter)
          Create an Appender reference.
static LoggerConfig LoggerConfig.RootLogger.createLogger(String additivity, String levelName, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
           
static LoggerConfig LoggerConfig.createLogger(String additivity, String levelName, String loggerName, 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<T> appender, Level level, Filter filter)
          Constructor.
LoggerConfig(String name, List<AppenderRef> appenders, Filter filter, Level level, boolean additive, Property[] properties, Configuration config)
           
 

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)
          Add 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)
          Remove a Filter.
 

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



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