Uses of Class
org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Packages that use StrSubstitutor Package Description org.apache.logging.log4j.core.appender Log4j 2 Appenders.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.org.apache.logging.log4j.web The classes in this package are responsible for properly initializing and deinitializing Log4j in a Java EE web application. -
-
Uses of StrSubstitutor in org.apache.logging.log4j.core.appender
Methods in org.apache.logging.log4j.core.appender that return StrSubstitutor Modifier and Type Method Description protected StrSubstitutor
AbstractManager. getStrSubstitutor()
Gets my configuration's StrSubstitutor or null. -
Uses of StrSubstitutor in org.apache.logging.log4j.core.appender.rolling
Fields in org.apache.logging.log4j.core.appender.rolling declared as StrSubstitutor Modifier and Type Field Description protected StrSubstitutor
AbstractRolloverStrategy. strSubstitutor
Methods in org.apache.logging.log4j.core.appender.rolling that return StrSubstitutor Modifier and Type Method Description StrSubstitutor
AbstractRolloverStrategy. getStrSubstitutor()
Methods in org.apache.logging.log4j.core.appender.rolling with parameters of type StrSubstitutor Modifier and Type Method Description void
PatternProcessor. formatFileName(StrSubstitutor subst, java.lang.StringBuilder buf, boolean useCurrentTime, java.lang.Object obj)
Formats file name.void
PatternProcessor. formatFileName(StrSubstitutor subst, java.lang.StringBuilder buf, java.lang.Object obj)
Formats file name.Constructors in org.apache.logging.log4j.core.appender.rolling with parameters of type StrSubstitutor 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 parameterDefaultRolloverStrategy(int minIndex, int maxIndex, boolean useMax, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError, java.lang.String tempCompressedFilePatternString)
Constructs a new instance.DirectWriteRolloverStrategy(int maxFiles, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError)
Deprecated.Since 2.9 Added tempCompressedFilePatternString parameterDirectWriteRolloverStrategy(int maxFiles, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError, java.lang.String tempCompressedFilePatternString)
Constructs a new instance. -
Uses of StrSubstitutor in org.apache.logging.log4j.core.appender.rolling.action
Fields in org.apache.logging.log4j.core.appender.rolling.action declared as StrSubstitutor Modifier and Type Field Description private StrSubstitutor
AbstractPathAction. subst
private StrSubstitutor
PosixViewAttributeAction.Builder. subst
Methods in org.apache.logging.log4j.core.appender.rolling.action that return StrSubstitutor Modifier and Type Method Description StrSubstitutor
AbstractPathAction. getStrSubstitutor()
Methods in org.apache.logging.log4j.core.appender.rolling.action with parameters of type StrSubstitutor Modifier and Type Method Description PosixViewAttributeAction.Builder
PosixViewAttributeAction.Builder. withSubst(StrSubstitutor subst)
Define string substituter.Constructors in org.apache.logging.log4j.core.appender.rolling.action with parameters of type StrSubstitutor Constructor Description AbstractPathAction(java.lang.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.DeleteAction(java.lang.String basePath, boolean followSymbolicLinks, int maxDepth, boolean testMode, PathSorter sorter, PathCondition[] pathConditions, ScriptCondition scriptCondition, StrSubstitutor subst)
Creates a new DeleteAction that starts scanning for files to delete from the specified base path.PosixViewAttributeAction(java.lang.String basePath, boolean followSymbolicLinks, int maxDepth, PathCondition[] pathConditions, StrSubstitutor subst, java.util.Set<java.nio.file.attribute.PosixFilePermission> filePermissions, java.lang.String fileOwner, java.lang.String fileGroup)
-
Uses of StrSubstitutor in org.apache.logging.log4j.core.config
Fields in org.apache.logging.log4j.core.config declared as StrSubstitutor Modifier and Type Field Description private StrSubstitutor
AbstractConfiguration. configurationStrSubstitutor
private StrSubstitutor
AbstractConfiguration. runtimeStrSubstitutor
protected StrSubstitutor
ConfigurationFactory. substitutor
private static StrSubstitutor
PropertiesPlugin. UNESCAPING_SUBSTITUTOR
Methods in org.apache.logging.log4j.core.config that return StrSubstitutor Modifier and Type Method Description private static StrSubstitutor
PropertiesPlugin. createUnescapingSubstitutor()
Creates a newStrSubstitutor
which is configured with no lookups and does not handle defaults.StrSubstitutor
AbstractConfiguration. getConfigurationStrSubstitutor()
default StrSubstitutor
Configuration. getConfigurationStrSubstitutor()
StrSubstitutor
AbstractConfiguration. getStrSubstitutor()
StrSubstitutor
Configuration. getStrSubstitutor()
Methods in org.apache.logging.log4j.core.config with parameters of type StrSubstitutor Modifier and Type Method Description java.lang.String
Property. evaluate(StrSubstitutor substitutor)
Evaluate this property with the provided substitutor. -
Uses of StrSubstitutor in org.apache.logging.log4j.core.config.plugins.visitors
Fields in org.apache.logging.log4j.core.config.plugins.visitors declared as StrSubstitutor Modifier and Type Field Description protected StrSubstitutor
AbstractPluginVisitor. substitutor
Methods in org.apache.logging.log4j.core.config.plugins.visitors with parameters of type StrSubstitutor 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. -
Uses of StrSubstitutor in org.apache.logging.log4j.core.lookup
Subclasses of StrSubstitutor in org.apache.logging.log4j.core.lookup Modifier and Type Class Description class
ConfigurationStrSubstitutor
RuntimeStrSubstitutor
is aStrSubstitutor
which only supports recursive evaluation of lookups.class
RuntimeStrSubstitutor
RuntimeStrSubstitutor
is aStrSubstitutor
which only supports evaluation of top-level lookups.Methods in org.apache.logging.log4j.core.lookup that return StrSubstitutor Modifier and Type Method Description StrSubstitutor
StrSubstitutor. setValueDelimiter(char valueDelimiter)
Sets the variable default value delimiter to use.StrSubstitutor
StrSubstitutor. setValueDelimiter(java.lang.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(java.lang.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(java.lang.String suffix)
Sets the variable suffix to use.StrSubstitutor
StrSubstitutor. setVariableSuffixMatcher(StrMatcher suffixMatcher)
Sets the variable suffix matcher currently in use.Constructors in org.apache.logging.log4j.core.lookup with parameters of type StrSubstitutor Constructor Description ConfigurationStrSubstitutor(StrSubstitutor other)
RuntimeStrSubstitutor(StrSubstitutor other)
StrSubstitutor(StrSubstitutor other)
-
Uses of StrSubstitutor in org.apache.logging.log4j.web
Fields in org.apache.logging.log4j.web declared as StrSubstitutor Modifier and Type Field Description private StrSubstitutor
Log4jWebInitializerImpl. substitutor
-