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 | Description |
---|---|---|
protected StrSubstitutor |
AbstractRolloverStrategy.strSubstitutor |
Modifier and Type | Method | Description |
---|---|---|
StrSubstitutor |
AbstractRolloverStrategy.getStrSubstitutor() |
Modifier and Type | Method | 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 | 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 | Description |
---|---|---|
StrSubstitutor |
AbstractPathAction.getStrSubstitutor() |
Modifier and Type | Method | Description |
---|---|---|
PosixViewAttributeAction.Builder |
PosixViewAttributeAction.Builder.withSubst(StrSubstitutor subst) |
Define string substituter.
|
Constructor | 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 | Description |
---|---|---|
protected StrSubstitutor |
ConfigurationFactory.substitutor |
Modifier and Type | Method | Description |
---|---|---|
StrSubstitutor |
AbstractConfiguration.getStrSubstitutor() |
|
StrSubstitutor |
Configuration.getStrSubstitutor() |
Modifier and Type | Field | Description |
---|---|---|
protected StrSubstitutor |
AbstractPluginVisitor.substitutor |
Modifier and Type | Method | 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 | Method | 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.
|
Copyright © 1999-2018. 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.