Uses of Class
org.apache.logging.log4j.core.config.plugins.PluginConfiguration
-
Packages that use PluginConfiguration Package Description org.apache.logging.log4j.core.appender Log4j 2 Appenders.org.apache.logging.log4j.core.appender.rewrite Apache Flume Appender.org.apache.logging.log4j.core.appender.rolling Rolling File Appender and support classes.org.apache.logging.log4j.core.appender.rolling.action Support classes for the Rolling File 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.org.apache.logging.log4j.core.filter Log4j 2 Filter support.org.apache.logging.log4j.core.layout Log4j 2 Layout support.org.apache.logging.log4j.core.script Log4j 2 Script support. -
-
Uses of PluginConfiguration in org.apache.logging.log4j.core.appender
Method parameters in org.apache.logging.log4j.core.appender with annotations of type PluginConfiguration Modifier and Type Method Description static FailoverAppender
FailoverAppender. createAppender(String name, String primary, String[] failovers, String retryIntervalSeconds, Configuration config, Filter filter, String ignore)
Create a Failover Appender.static SmtpAppender
SmtpAppender. createAppender(Configuration config, 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)
Deprecated.UseSmtpAppender.newBuilder()
to create and configure aSmtpAppender.Builder
instance. -
Uses of PluginConfiguration in org.apache.logging.log4j.core.appender.rewrite
Method parameters in org.apache.logging.log4j.core.appender.rewrite with annotations of type PluginConfiguration Modifier and Type Method Description static RewriteAppender
RewriteAppender. createAppender(String name, String ignore, AppenderRef[] appenderRefs, Configuration config, RewritePolicy rewritePolicy, Filter filter)
Creates a RewriteAppender.static PropertiesRewritePolicy
PropertiesRewritePolicy. createPolicy(Configuration config, Property[] props)
Creates a PropertiesRewritePolicy. -
Uses of PluginConfiguration in org.apache.logging.log4j.core.appender.rolling
Method parameters in org.apache.logging.log4j.core.appender.rolling with annotations of type PluginConfiguration Modifier and Type Method Description static CronTriggeringPolicy
CronTriggeringPolicy. createPolicy(Configuration configuration, String evaluateOnStartup, String schedule)
Creates a ScheduledTriggeringPolicy.static DefaultRolloverStrategy
DefaultRolloverStrategy. createStrategy(String max, String min, String fileIndex, String compressionLevelStr, Action[] customActions, boolean stopCustomActionsOnError, Configuration config)
Deprecated.Since 2.9 Usage of Builder API is preferablestatic DirectWriteRolloverStrategy
DirectWriteRolloverStrategy. createStrategy(String maxFiles, String compressionLevelStr, Action[] customActions, boolean stopCustomActionsOnError, Configuration config)
Deprecated.Since 2.9 Usage of Builder API is preferable -
Uses of PluginConfiguration in org.apache.logging.log4j.core.appender.rolling.action
Method parameters in org.apache.logging.log4j.core.appender.rolling.action with annotations of type PluginConfiguration Modifier and Type Method Description static ScriptCondition
ScriptCondition. createCondition(AbstractScript script, Configuration configuration)
Creates the ScriptCondition.static DeleteAction
DeleteAction. createDeleteAction(String basePath, boolean followLinks, int maxDepth, boolean testMode, PathSorter sorterParameter, PathCondition[] pathConditions, ScriptCondition scriptCondition, Configuration config)
Create a DeleteAction. -
Uses of PluginConfiguration in org.apache.logging.log4j.core.appender.routing
Method parameters in org.apache.logging.log4j.core.appender.routing with annotations of type PluginConfiguration Modifier and Type Method Description static PurgePolicy
IdlePurgePolicy. createPurgePolicy(String timeToLive, String checkInterval, String timeUnit, Configuration configuration)
Create the PurgePolicy -
Uses of PluginConfiguration in org.apache.logging.log4j.core.async
Method parameters in org.apache.logging.log4j.core.async with annotations of type PluginConfiguration Modifier and Type Method Description static LoggerConfig
AsyncLoggerConfig. createLogger(boolean additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
Factory method to create a LoggerConfig.static LoggerConfig
AsyncLoggerConfig.RootLogger. createLogger(String additivity, Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
-
Uses of PluginConfiguration in org.apache.logging.log4j.core.config
Method parameters in org.apache.logging.log4j.core.config with annotations of type PluginConfiguration Modifier and Type Method Description static StrLookup
PropertiesPlugin. configureSubstitutor(Property[] properties, Configuration config)
Creates the Properties component.static LoggerConfig
LoggerConfig. createLogger(boolean additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
Factory method to create a LoggerConfig.static LoggerConfig
LoggerConfig. createLogger(String additivity, Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
Deprecated.static LoggerConfig
LoggerConfig.RootLogger. createLogger(String additivity, Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
-
Uses of PluginConfiguration in org.apache.logging.log4j.core.filter
Method parameters in org.apache.logging.log4j.core.filter with annotations of type PluginConfiguration Modifier and Type Method Description static ScriptFilter
ScriptFilter. createFilter(AbstractScript script, Filter.Result match, Filter.Result mismatch, Configuration configuration)
Creates the ScriptFilter. -
Uses of PluginConfiguration in org.apache.logging.log4j.core.layout
Method parameters in org.apache.logging.log4j.core.layout with annotations of type PluginConfiguration Modifier and Type Method Description static PatternLayout
PatternLayout. createLayout(String pattern, PatternSelector patternSelector, Configuration config, RegexReplacement replace, Charset charset, boolean alwaysWriteExceptions, boolean noConsoleNoAnsi, String headerPattern, String footerPattern)
Deprecated.UsePatternLayout.newBuilder()
instead.static Rfc5424Layout
Rfc5424Layout. createLayout(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 exceptionPattern, boolean useTlsMessageFormat, LoggerFields[] loggerFields, Configuration config)
Create the RFC 5424 Layout. -
Uses of PluginConfiguration in org.apache.logging.log4j.core.script
Method parameters in org.apache.logging.log4j.core.script with annotations of type PluginConfiguration Modifier and Type Method Description static ScriptRef
ScriptRef. createReference(String name, Configuration configuration)
-