Uses of Class
org.apache.logging.log4j.core.lookup.StrSubstitutor
Packages that use StrSubstitutor
Package
Description
Log4j 2 Appenders.
Rolling File Appender and support classes.
Support classes for the Rolling File Appender.
Configuration of Log4j 2.
Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.
Log4j 2 Lookups.
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 StrSubstitutorModifier and TypeMethodDescriptionprotected 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 StrSubstitutorModifier and TypeFieldDescriptionprotected final StrSubstitutor
AbstractRolloverStrategy.strSubstitutor
Methods in org.apache.logging.log4j.core.appender.rolling that return StrSubstitutorMethods in org.apache.logging.log4j.core.appender.rolling with parameters of type StrSubstitutorModifier and TypeMethodDescriptionfinal void
PatternProcessor.formatFileName
(StrSubstitutor subst, StringBuilder buf, boolean useCurrentTime, Object obj) Formats file name.final void
PatternProcessor.formatFileName
(StrSubstitutor subst, StringBuilder buf, Object obj) Formats file name.Constructors in org.apache.logging.log4j.core.appender.rolling with parameters of type StrSubstitutorModifierConstructorDescriptionprotected
AbstractRolloverStrategy
(StrSubstitutor strSubstitutor) protected
DefaultRolloverStrategy
(int minIndex, int maxIndex, boolean useMax, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError) Deprecated.Since 2.9 Added tempCompressedFilePatternString parameterprotected
DefaultRolloverStrategy
(int minIndex, int maxIndex, boolean useMax, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError, String tempCompressedFilePatternString) Constructs a new instance.protected
DirectWriteRolloverStrategy
(int maxFiles, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError) Deprecated.Since 2.9 Added tempCompressedFilePatternString parameterprotected
DirectWriteRolloverStrategy
(int maxFiles, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError, 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 StrSubstitutorModifier and TypeFieldDescriptionprivate final StrSubstitutor
AbstractPathAction.subst
private StrSubstitutor
PosixViewAttributeAction.Builder.subst
Methods in org.apache.logging.log4j.core.appender.rolling.action that return StrSubstitutorMethods in org.apache.logging.log4j.core.appender.rolling.action with parameters of type StrSubstitutorModifier and TypeMethodDescriptionPosixViewAttributeAction.Builder.withSubst
(StrSubstitutor subst) Define string substituter.Constructors in org.apache.logging.log4j.core.appender.rolling.action with parameters of type StrSubstitutorModifierConstructorDescriptionprotected
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.(package private)
DeleteAction
(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.private
PosixViewAttributeAction
(String basePath, boolean followSymbolicLinks, int maxDepth, PathCondition[] pathConditions, StrSubstitutor subst, Set<PosixFilePermission> filePermissions, String fileOwner, String fileGroup) -
Uses of StrSubstitutor in org.apache.logging.log4j.core.config
Fields in org.apache.logging.log4j.core.config declared as StrSubstitutorModifier and TypeFieldDescriptionprivate final StrSubstitutor
AbstractConfiguration.configurationStrSubstitutor
private final StrSubstitutor
AbstractConfiguration.runtimeStrSubstitutor
protected final StrSubstitutor
ConfigurationFactory.substitutor
private static final StrSubstitutor
PropertiesPlugin.UNESCAPING_SUBSTITUTOR
Methods in org.apache.logging.log4j.core.config that return StrSubstitutorModifier and TypeMethodDescriptionprivate static StrSubstitutor
PropertiesPlugin.createUnescapingSubstitutor()
Creates a newStrSubstitutor
which is configured with no lookups and does not handle defaults.AbstractConfiguration.getConfigurationStrSubstitutor()
default StrSubstitutor
Configuration.getConfigurationStrSubstitutor()
AbstractConfiguration.getStrSubstitutor()
Configuration.getStrSubstitutor()
Methods in org.apache.logging.log4j.core.config with parameters of type StrSubstitutorModifier and TypeMethodDescriptionProperty.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 StrSubstitutorMethods in org.apache.logging.log4j.core.config.plugins.visitors with parameters of type StrSubstitutorModifier and TypeMethodDescriptionAbstractPluginVisitor.setStrSubstitutor
(StrSubstitutor aSubstitutor) 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.lookupModifier and TypeClassDescriptionfinal class
RuntimeStrSubstitutor
is aStrSubstitutor
which only supports recursive evaluation of lookups.final class
RuntimeStrSubstitutor
is aStrSubstitutor
which only supports evaluation of top-level lookups.Methods in org.apache.logging.log4j.core.lookup that return StrSubstitutorModifier and TypeMethodDescriptionStrSubstitutor.setValueDelimiter
(char valueDelimiter) Sets the variable default value delimiter to use.StrSubstitutor.setValueDelimiter
(String valueDelimiter) Sets the variable default value delimiter to use.StrSubstitutor.setValueDelimiterMatcher
(StrMatcher valueDelimiterMatcher) Sets the variable default value delimiter matcher to use.StrSubstitutor.setVariablePrefix
(char prefix) Sets the variable prefix to use.StrSubstitutor.setVariablePrefix
(String prefix) Sets the variable prefix to use.StrSubstitutor.setVariablePrefixMatcher
(StrMatcher prefixMatcher) Sets the variable prefix matcher currently in use.StrSubstitutor.setVariableSuffix
(char suffix) Sets the variable suffix to use.StrSubstitutor.setVariableSuffix
(String suffix) Sets the variable suffix to use.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 -
Uses of StrSubstitutor in org.apache.logging.log4j.layout.template.json.resolver
Fields in org.apache.logging.log4j.layout.template.json.resolver declared as StrSubstitutorModifier and TypeFieldDescriptionprivate final StrSubstitutor
EventResolverStringSubstitutor.substitutor
private final StrSubstitutor
StackTraceElementResolverStringSubstitutor.substitutor
Methods in org.apache.logging.log4j.layout.template.json.resolver that return StrSubstitutorModifier and TypeMethodDescriptionEventResolverStringSubstitutor.getInternalSubstitutor()
StackTraceElementResolverStringSubstitutor.getInternalSubstitutor()
TemplateResolverStringSubstitutor.getInternalSubstitutor()
Constructors in org.apache.logging.log4j.layout.template.json.resolver with parameters of type StrSubstitutorModifierConstructorDescriptionEventResolverStringSubstitutor
(StrSubstitutor substitutor) (package private)
StackTraceElementResolverStringSubstitutor
(StrSubstitutor substitutor) -
Uses of StrSubstitutor in org.apache.logging.log4j.web
Fields in org.apache.logging.log4j.web declared as StrSubstitutorModifier and TypeFieldDescriptionprivate final StrSubstitutor
Log4jWebInitializerImpl.substitutor