Uses of Class
org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Packages that use PluginAttribute Package Description org.apache.log4j.layout 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.net.ssl Log4j 2 SSL supportorg.apache.logging.log4j.core.pattern Provides classes implementing format specifiers in conversion patterns.org.apache.logging.log4j.core.script Log4j 2 Script support. -
-
Uses of PluginAttribute in org.apache.log4j.layout
Method parameters in org.apache.log4j.layout with annotations of type PluginAttribute Modifier and Type Method Description static Log4j1XmlLayout
Log4j1XmlLayout. createLayout(boolean locationInfo, boolean properties)
static Log4j1XmlLayout
Log4j1XmlLayout. createLayout(boolean locationInfo, boolean properties)
-
Uses of PluginAttribute in org.apache.logging.log4j.core.appender
Method parameters in org.apache.logging.log4j.core.appender with annotations of type PluginAttribute Modifier and Type Method Description static CountingNoOpAppender
CountingNoOpAppender. createAppender(String name)
Creates a CountingNoOp Appender.static FailoverAppender
FailoverAppender. createAppender(String name, String primary, String[] failovers, String retryIntervalSeconds, Configuration config, Filter filter, String ignore)
Create a Failover Appender.static FailoverAppender
FailoverAppender. createAppender(String name, String primary, String[] failovers, String retryIntervalSeconds, Configuration config, Filter filter, String ignore)
Create a Failover Appender.static FailoverAppender
FailoverAppender. createAppender(String name, String primary, String[] failovers, String retryIntervalSeconds, Configuration config, Filter filter, String ignore)
Create a Failover Appender.static FailoverAppender
FailoverAppender. createAppender(String name, String primary, String[] failovers, String retryIntervalSeconds, Configuration config, Filter filter, String ignore)
Create a Failover Appender.static NullAppender
NullAppender. createAppender(String name)
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.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.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.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.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.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.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.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.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.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.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.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.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.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.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 PluginAttribute in org.apache.logging.log4j.core.appender.rewrite
Method parameters in org.apache.logging.log4j.core.appender.rewrite with annotations of type PluginAttribute 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 RewriteAppender
RewriteAppender. createAppender(String name, String ignore, AppenderRef[] appenderRefs, Configuration config, RewritePolicy rewritePolicy, Filter filter)
Creates a RewriteAppender.static LoggerNameLevelRewritePolicy
LoggerNameLevelRewritePolicy. createPolicy(String loggerNamePrefix, KeyValuePair[] levelPairs)
Creates a policy to rewrite levels for a given logger name.static MapRewritePolicy
MapRewritePolicy. createPolicy(String mode, KeyValuePair[] pairs)
The factory method to create the MapRewritePolicy. -
Uses of PluginAttribute in org.apache.logging.log4j.core.appender.rolling
Method parameters in org.apache.logging.log4j.core.appender.rolling with annotations of type PluginAttribute Modifier and Type Method Description static CronTriggeringPolicy
CronTriggeringPolicy. createPolicy(Configuration configuration, String evaluateOnStartup, String schedule)
Creates a ScheduledTriggeringPolicy.static CronTriggeringPolicy
CronTriggeringPolicy. createPolicy(Configuration configuration, String evaluateOnStartup, String schedule)
Creates a ScheduledTriggeringPolicy.static OnStartupTriggeringPolicy
OnStartupTriggeringPolicy. createPolicy(long minSize)
static SizeBasedTriggeringPolicy
SizeBasedTriggeringPolicy. createPolicy(String size)
Create a SizeBasedTriggeringPolicy.static TimeBasedTriggeringPolicy
TimeBasedTriggeringPolicy. createPolicy(String interval, String modulate)
Deprecated.static TimeBasedTriggeringPolicy
TimeBasedTriggeringPolicy. createPolicy(String interval, String modulate)
Deprecated.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 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 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 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 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 preferablestatic DirectWriteRolloverStrategy
DirectWriteRolloverStrategy. createStrategy(String maxFiles, 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 PluginAttribute in org.apache.logging.log4j.core.appender.rolling.action
Method parameters in org.apache.logging.log4j.core.appender.rolling.action with annotations of type PluginAttribute Modifier and Type Method Description static IfLastModified
IfLastModified. createAgeCondition(Duration age, PathCondition... nestedConditions)
Create an IfLastModified condition.static DeleteAction
DeleteAction. createDeleteAction(String basePath, boolean followLinks, int maxDepth, boolean testMode, PathSorter sorterParameter, PathCondition[] pathConditions, ScriptCondition scriptCondition, Configuration config)
Create a DeleteAction.static DeleteAction
DeleteAction. createDeleteAction(String basePath, boolean followLinks, int maxDepth, boolean testMode, PathSorter sorterParameter, PathCondition[] pathConditions, ScriptCondition scriptCondition, Configuration config)
Create a DeleteAction.static DeleteAction
DeleteAction. createDeleteAction(String basePath, boolean followLinks, int maxDepth, boolean testMode, PathSorter sorterParameter, PathCondition[] pathConditions, ScriptCondition scriptCondition, Configuration config)
Create a DeleteAction.static DeleteAction
DeleteAction. createDeleteAction(String basePath, boolean followLinks, int maxDepth, boolean testMode, PathSorter sorterParameter, PathCondition[] pathConditions, ScriptCondition scriptCondition, Configuration config)
Create a DeleteAction.static IfAccumulatedFileCount
IfAccumulatedFileCount. createFileCountCondition(int threshold, PathCondition... nestedConditions)
Create an IfAccumulatedFileCount condition.static IfAccumulatedFileSize
IfAccumulatedFileSize. createFileSizeCondition(String size, PathCondition... nestedConditions)
Create an IfAccumulatedFileSize condition.static IfFileName
IfFileName. createNameCondition(String glob, String regex, PathCondition... nestedConditions)
Creates a IfFileName condition that returns true if either the specified glob pattern or the regular expression matches the relative path.static IfFileName
IfFileName. createNameCondition(String glob, String regex, PathCondition... nestedConditions)
Creates a IfFileName condition that returns true if either the specified glob pattern or the regular expression matches the relative path.static PathSorter
PathSortByModificationTime. createSorter(boolean recentFirst)
Create a PathSorter that sorts by lastModified time. -
Uses of PluginAttribute in org.apache.logging.log4j.core.appender.routing
Method parameters in org.apache.logging.log4j.core.appender.routing with annotations of type PluginAttribute Modifier and Type Method Description static PurgePolicy
IdlePurgePolicy. createPurgePolicy(String timeToLive, String checkInterval, String timeUnit, Configuration configuration)
Create the PurgePolicystatic PurgePolicy
IdlePurgePolicy. createPurgePolicy(String timeToLive, String checkInterval, String timeUnit, Configuration configuration)
Create the PurgePolicystatic PurgePolicy
IdlePurgePolicy. createPurgePolicy(String timeToLive, String checkInterval, String timeUnit, Configuration configuration)
Create the PurgePolicystatic Route
Route. createRoute(String appenderRef, String key, Node node)
Create the Route.static Route
Route. createRoute(String appenderRef, String key, Node node)
Create the Route. -
Uses of PluginAttribute in org.apache.logging.log4j.core.async
Method parameters in org.apache.logging.log4j.core.async with annotations of type PluginAttribute Modifier and Type Method Description static <E> JCToolsBlockingQueueFactory<E>
JCToolsBlockingQueueFactory. createFactory(JCToolsBlockingQueueFactory.WaitStrategy waitStrategy)
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. 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. 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. 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)
static LoggerConfig
AsyncLoggerConfig.RootLogger. createLogger(String additivity, Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
static LoggerConfig
AsyncLoggerConfig.RootLogger. createLogger(String additivity, Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
-
Uses of PluginAttribute in org.apache.logging.log4j.core.config
Method parameters in org.apache.logging.log4j.core.config with annotations of type PluginAttribute Modifier and Type Method Description static AppenderRef
AppenderRef. createAppenderRef(String ref, Level level, Filter filter)
Create an Appender reference.static AppenderRef
AppenderRef. createAppenderRef(String ref, Level level, Filter filter)
Create an Appender reference.static CustomLevelConfig
CustomLevelConfig. createLevel(String levelName, int intLevel)
Creates a CustomLevelConfig object.static CustomLevelConfig
CustomLevelConfig. createLevel(String levelName, int intLevel)
Creates a CustomLevelConfig object.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(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(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(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)
static LoggerConfig
LoggerConfig.RootLogger. createLogger(String additivity, Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
static LoggerConfig
LoggerConfig.RootLogger. createLogger(String additivity, Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
static Property
Property. createProperty(String name, String value)
Creates a Property. -
Uses of PluginAttribute in org.apache.logging.log4j.core.filter
Method parameters in org.apache.logging.log4j.core.filter with annotations of type PluginAttribute Modifier and Type Method Description static DynamicThresholdFilter
DynamicThresholdFilter. createFilter(String key, KeyValuePair[] pairs, Level defaultThreshold, Filter.Result onMatch, Filter.Result onMismatch)
Creates a DynamicThresholdFilter.static DynamicThresholdFilter
DynamicThresholdFilter. createFilter(String key, KeyValuePair[] pairs, Level defaultThreshold, Filter.Result onMatch, Filter.Result onMismatch)
Creates a DynamicThresholdFilter.static DynamicThresholdFilter
DynamicThresholdFilter. createFilter(String key, KeyValuePair[] pairs, Level defaultThreshold, Filter.Result onMatch, Filter.Result onMismatch)
Creates a DynamicThresholdFilter.static DynamicThresholdFilter
DynamicThresholdFilter. createFilter(String key, KeyValuePair[] pairs, Level defaultThreshold, Filter.Result onMatch, Filter.Result onMismatch)
Creates a DynamicThresholdFilter.static LevelRangeFilter
LevelRangeFilter. createFilter(Level minLevel, Level maxLevel, Filter.Result match, Filter.Result mismatch)
Creates a ThresholdFilter.static LevelRangeFilter
LevelRangeFilter. createFilter(Level minLevel, Level maxLevel, Filter.Result match, Filter.Result mismatch)
Creates a ThresholdFilter.static LevelRangeFilter
LevelRangeFilter. createFilter(Level minLevel, Level maxLevel, Filter.Result match, Filter.Result mismatch)
Creates a ThresholdFilter.static LevelRangeFilter
LevelRangeFilter. createFilter(Level minLevel, Level maxLevel, Filter.Result match, Filter.Result mismatch)
Creates a ThresholdFilter.static MapFilter
MapFilter. createFilter(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch)
static MapFilter
MapFilter. createFilter(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch)
static MapFilter
MapFilter. createFilter(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch)
static MarkerFilter
MarkerFilter. createFilter(String marker, Filter.Result match, Filter.Result mismatch)
Creates the MarkerFilter.static MarkerFilter
MarkerFilter. createFilter(String marker, Filter.Result match, Filter.Result mismatch)
Creates the MarkerFilter.static MarkerFilter
MarkerFilter. createFilter(String marker, Filter.Result match, Filter.Result mismatch)
Creates the MarkerFilter.static RegexFilter
RegexFilter. createFilter(String regex, String[] patternFlags, Boolean useRawMsg, Filter.Result match, Filter.Result mismatch)
Creates a Filter that matches a regular expression.static RegexFilter
RegexFilter. createFilter(String regex, String[] patternFlags, Boolean useRawMsg, Filter.Result match, Filter.Result mismatch)
Creates a Filter that matches a regular expression.static RegexFilter
RegexFilter. createFilter(String regex, String[] patternFlags, Boolean useRawMsg, Filter.Result match, Filter.Result mismatch)
Creates a Filter that matches a regular expression.static RegexFilter
RegexFilter. createFilter(String regex, String[] patternFlags, Boolean useRawMsg, Filter.Result match, Filter.Result mismatch)
Creates a Filter that matches a regular expression.static ScriptFilter
ScriptFilter. createFilter(AbstractScript script, Filter.Result match, Filter.Result mismatch, Configuration configuration)
Creates the ScriptFilter.static ScriptFilter
ScriptFilter. createFilter(AbstractScript script, Filter.Result match, Filter.Result mismatch, Configuration configuration)
Creates the ScriptFilter.static StructuredDataFilter
StructuredDataFilter. createFilter(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch)
Creates the StructuredDataFilter.static StructuredDataFilter
StructuredDataFilter. createFilter(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch)
Creates the StructuredDataFilter.static StructuredDataFilter
StructuredDataFilter. createFilter(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch)
Creates the StructuredDataFilter.static ThreadContextMapFilter
ThreadContextMapFilter. createFilter(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch)
static ThreadContextMapFilter
ThreadContextMapFilter. createFilter(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch)
static ThreadContextMapFilter
ThreadContextMapFilter. createFilter(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch)
static ThresholdFilter
ThresholdFilter. createFilter(Level level, Filter.Result match, Filter.Result mismatch)
Creates a ThresholdFilter.static ThresholdFilter
ThresholdFilter. createFilter(Level level, Filter.Result match, Filter.Result mismatch)
Creates a ThresholdFilter.static ThresholdFilter
ThresholdFilter. createFilter(Level level, Filter.Result match, Filter.Result mismatch)
Creates a ThresholdFilter.static TimeFilter
TimeFilter. createFilter(String start, String end, String tz, Filter.Result match, Filter.Result mismatch)
Creates a TimeFilter.static TimeFilter
TimeFilter. createFilter(String start, String end, String tz, Filter.Result match, Filter.Result mismatch)
Creates a TimeFilter.static TimeFilter
TimeFilter. createFilter(String start, String end, String tz, Filter.Result match, Filter.Result mismatch)
Creates a TimeFilter.static TimeFilter
TimeFilter. createFilter(String start, String end, String tz, Filter.Result match, Filter.Result mismatch)
Creates a TimeFilter.static TimeFilter
TimeFilter. createFilter(String start, String end, String tz, Filter.Result match, Filter.Result mismatch)
Creates a TimeFilter. -
Uses of PluginAttribute in org.apache.logging.log4j.core.layout
Method parameters in org.apache.logging.log4j.core.layout with annotations of type PluginAttribute Modifier and Type Method Description static HtmlLayout
HtmlLayout. createLayout(boolean locationInfo, String title, String contentType, Charset charset, String fontSize, String font)
Creates an HTML Layout.static HtmlLayout
HtmlLayout. createLayout(boolean locationInfo, String title, String contentType, Charset charset, String fontSize, String font)
Creates an HTML Layout.static HtmlLayout
HtmlLayout. createLayout(boolean locationInfo, String title, String contentType, Charset charset, String fontSize, String font)
Creates an HTML Layout.static HtmlLayout
HtmlLayout. createLayout(boolean locationInfo, String title, String contentType, Charset charset, String fontSize, String font)
Creates an HTML Layout.static HtmlLayout
HtmlLayout. createLayout(boolean locationInfo, String title, String contentType, Charset charset, String fontSize, String font)
Creates an HTML Layout.static HtmlLayout
HtmlLayout. createLayout(boolean locationInfo, String title, String contentType, Charset charset, String fontSize, String font)
Creates an HTML Layout.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 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 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 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 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 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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.static LoggerFields
LoggerFields. createLoggerFields(KeyValuePair[] keyValuePairs, String sdId, String enterpriseId, boolean discardIfAllFieldsAreEmpty)
Create a LoggerFields from KeyValuePairs.static LoggerFields
LoggerFields. createLoggerFields(KeyValuePair[] keyValuePairs, String sdId, String enterpriseId, boolean discardIfAllFieldsAreEmpty)
Create a LoggerFields from KeyValuePairs.static LoggerFields
LoggerFields. createLoggerFields(KeyValuePair[] keyValuePairs, String sdId, String enterpriseId, boolean discardIfAllFieldsAreEmpty)
Create a LoggerFields from KeyValuePairs. -
Uses of PluginAttribute in org.apache.logging.log4j.core.net.ssl
Method parameters in org.apache.logging.log4j.core.net.ssl with annotations of type PluginAttribute Modifier and Type Method Description static KeyStoreConfiguration
KeyStoreConfiguration. createKeyStoreConfiguration(String location, char[] password, String passwordEnvironmentVariable, String passwordFile, String keyStoreType, String keyManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.static KeyStoreConfiguration
KeyStoreConfiguration. createKeyStoreConfiguration(String location, char[] password, String passwordEnvironmentVariable, String passwordFile, String keyStoreType, String keyManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.static KeyStoreConfiguration
KeyStoreConfiguration. createKeyStoreConfiguration(String location, char[] password, String passwordEnvironmentVariable, String passwordFile, String keyStoreType, String keyManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.static KeyStoreConfiguration
KeyStoreConfiguration. createKeyStoreConfiguration(String location, char[] password, String passwordEnvironmentVariable, String passwordFile, String keyStoreType, String keyManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.static KeyStoreConfiguration
KeyStoreConfiguration. createKeyStoreConfiguration(String location, char[] password, String passwordEnvironmentVariable, String passwordFile, String keyStoreType, String keyManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.static KeyStoreConfiguration
KeyStoreConfiguration. createKeyStoreConfiguration(String location, char[] password, String passwordEnvironmentVariable, String passwordFile, String keyStoreType, String keyManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.static TrustStoreConfiguration
TrustStoreConfiguration. createKeyStoreConfiguration(String location, char[] password, String passwordEnvironmentVariable, String passwordFile, String keyStoreType, String trustManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.static TrustStoreConfiguration
TrustStoreConfiguration. createKeyStoreConfiguration(String location, char[] password, String passwordEnvironmentVariable, String passwordFile, String keyStoreType, String trustManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.static TrustStoreConfiguration
TrustStoreConfiguration. createKeyStoreConfiguration(String location, char[] password, String passwordEnvironmentVariable, String passwordFile, String keyStoreType, String trustManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.static TrustStoreConfiguration
TrustStoreConfiguration. createKeyStoreConfiguration(String location, char[] password, String passwordEnvironmentVariable, String passwordFile, String keyStoreType, String trustManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.static TrustStoreConfiguration
TrustStoreConfiguration. createKeyStoreConfiguration(String location, char[] password, String passwordEnvironmentVariable, String passwordFile, String keyStoreType, String trustManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.static TrustStoreConfiguration
TrustStoreConfiguration. createKeyStoreConfiguration(String location, char[] password, String passwordEnvironmentVariable, String passwordFile, String keyStoreType, String trustManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.static SslConfiguration
SslConfiguration. createSSLConfiguration(String protocol, KeyStoreConfiguration keyStoreConfig, TrustStoreConfiguration trustStoreConfig)
Creates an SslConfiguration from a KeyStoreConfiguration and a TrustStoreConfiguration.static SslConfiguration
SslConfiguration. createSSLConfiguration(String protocol, KeyStoreConfiguration keyStoreConfig, TrustStoreConfiguration trustStoreConfig, boolean verifyHostName)
Creates an SslConfiguration from a KeyStoreConfiguration and a TrustStoreConfiguration. -
Uses of PluginAttribute in org.apache.logging.log4j.core.pattern
Method parameters in org.apache.logging.log4j.core.pattern with annotations of type PluginAttribute Modifier and Type Method Description static RegexReplacement
RegexReplacement. createRegexReplacement(Pattern regex, String replacement)
Create a RegexReplacement.static RegexReplacement
RegexReplacement. createRegexReplacement(Pattern regex, String replacement)
Create a RegexReplacement. -
Uses of PluginAttribute in org.apache.logging.log4j.core.script
Method parameters in org.apache.logging.log4j.core.script with annotations of type PluginAttribute Modifier and Type Method Description static ScriptRef
ScriptRef. createReference(String name, Configuration configuration)
static Script
Script. createScript(String name, String language, String scriptText)
static Script
Script. createScript(String name, String language, String scriptText)
static ScriptFile
ScriptFile. createScript(String name, String language, String filePathOrUri, Boolean isWatched, Charset charset)
static ScriptFile
ScriptFile. createScript(String name, String language, String filePathOrUri, Boolean isWatched, Charset charset)
static ScriptFile
ScriptFile. createScript(String name, String language, String filePathOrUri, Boolean isWatched, Charset charset)
static ScriptFile
ScriptFile. createScript(String name, String language, String filePathOrUri, Boolean isWatched, Charset charset)
static ScriptFile
ScriptFile. createScript(String name, String language, String filePathOrUri, Boolean isWatched, Charset charset)
-