Package | Description |
---|---|
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.config |
Configuration of Log4j 2.
|
org.apache.logging.log4j.core.config.plugins.visitors |
Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.
|
org.apache.logging.log4j.core.lookup |
Log4j 2 Lookups.
|
Modifier and Type | Field and Description |
---|---|
protected StrSubstitutor |
AbstractRolloverStrategy.strSubstitutor |
Modifier and Type | Method and Description |
---|---|
StrSubstitutor |
AbstractRolloverStrategy.getStrSubstitutor() |
Modifier and Type | Method and Description |
---|---|
void |
PatternProcessor.formatFileName(StrSubstitutor subst,
StringBuilder buf,
boolean useCurrentTime,
Object obj)
Formats file name.
|
void |
PatternProcessor.formatFileName(StrSubstitutor subst,
StringBuilder buf,
Object obj)
Formats file name.
|
Constructor and Description |
---|
AbstractRolloverStrategy(StrSubstitutor strSubstitutor) |
DefaultRolloverStrategy(int minIndex,
int maxIndex,
boolean useMax,
int compressionLevel,
StrSubstitutor strSubstitutor,
Action[] customActions,
boolean stopCustomActionsOnError)
Deprecated.
Since 2.9 Added tempCompressedFilePatternString parameter
|
DefaultRolloverStrategy(int minIndex,
int maxIndex,
boolean useMax,
int compressionLevel,
StrSubstitutor strSubstitutor,
Action[] customActions,
boolean stopCustomActionsOnError,
String tempCompressedFilePatternString)
Constructs a new instance.
|
DirectWriteRolloverStrategy(int maxFiles,
int compressionLevel,
StrSubstitutor strSubstitutor,
Action[] customActions,
boolean stopCustomActionsOnError)
Deprecated.
Since 2.9 Added tempCompressedFilePatternString parameter
|
DirectWriteRolloverStrategy(int maxFiles,
int compressionLevel,
StrSubstitutor strSubstitutor,
Action[] customActions,
boolean stopCustomActionsOnError,
String tempCompressedFilePatternString)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
StrSubstitutor |
AbstractPathAction.getStrSubstitutor() |
Modifier and Type | Method and Description |
---|---|
PosixViewAttributeAction.Builder |
PosixViewAttributeAction.Builder.withSubst(StrSubstitutor subst)
Define string substituter.
|
Constructor and Description |
---|
AbstractPathAction(String basePath,
boolean followSymbolicLinks,
int maxDepth,
PathCondition[] pathFilters,
StrSubstitutor subst)
Creates a new AbstractPathAction that starts scanning for files to process from the specified base path.
|
Modifier and Type | Field and Description |
---|---|
protected StrSubstitutor |
ConfigurationFactory.substitutor |
Modifier and Type | Method and Description |
---|---|
StrSubstitutor |
AbstractConfiguration.getConfigurationStrSubstitutor() |
default StrSubstitutor |
Configuration.getConfigurationStrSubstitutor() |
StrSubstitutor |
AbstractConfiguration.getStrSubstitutor() |
StrSubstitutor |
Configuration.getStrSubstitutor() |
Modifier and Type | Field and Description |
---|---|
protected StrSubstitutor |
AbstractPluginVisitor.substitutor |
Modifier and Type | Method and Description |
---|---|
PluginVisitor<A> |
AbstractPluginVisitor.setStrSubstitutor(StrSubstitutor aSubstitutor) |
PluginVisitor<A> |
PluginVisitor.setStrSubstitutor(StrSubstitutor substitutor)
Sets the StrSubstitutor to use for converting raw strings before type conversion.
|
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationStrSubstitutor
RuntimeStrSubstitutor is a StrSubstitutor which only supports recursive evaluation of lookups. |
class |
RuntimeStrSubstitutor
RuntimeStrSubstitutor is a StrSubstitutor which only supports evaluation of top-level lookups. |
Modifier and Type | Method and Description |
---|---|
StrSubstitutor |
StrSubstitutor.setValueDelimiter(char valueDelimiter)
Sets the variable default value delimiter to use.
|
StrSubstitutor |
StrSubstitutor.setValueDelimiter(String valueDelimiter)
Sets the variable default value delimiter to use.
|
StrSubstitutor |
StrSubstitutor.setValueDelimiterMatcher(StrMatcher valueDelimiterMatcher)
Sets the variable default value delimiter matcher to use.
|
StrSubstitutor |
StrSubstitutor.setVariablePrefix(char prefix)
Sets the variable prefix to use.
|
StrSubstitutor |
StrSubstitutor.setVariablePrefix(String prefix)
Sets the variable prefix to use.
|
StrSubstitutor |
StrSubstitutor.setVariablePrefixMatcher(StrMatcher prefixMatcher)
Sets the variable prefix matcher currently in use.
|
StrSubstitutor |
StrSubstitutor.setVariableSuffix(char suffix)
Sets the variable suffix to use.
|
StrSubstitutor |
StrSubstitutor.setVariableSuffix(String suffix)
Sets the variable suffix to use.
|
StrSubstitutor |
StrSubstitutor.setVariableSuffixMatcher(StrMatcher suffixMatcher)
Sets the variable suffix matcher currently in use.
|
Constructor and Description |
---|
ConfigurationStrSubstitutor(StrSubstitutor other) |
RuntimeStrSubstitutor(StrSubstitutor other) |
Copyright © 1999-1969 The 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.