Package org.apache.logging.log4j.core.lookup
Log4j 2 Lookups. These are used in variable interpolation in various configuration attributes.
StrLookup
plugins should use the
plugin category
Lookup
.-
Interface Summary Interface Description StrLookup Lookup a String key to a String value. -
Class Summary Class Description AbstractConfigurationAwareLookup StrLookup that is ConfigurationAware.AbstractLookup A default lookup for others to extend.ConfigurationStrSubstitutor RuntimeStrSubstitutor
is aStrSubstitutor
which only supports recursive evaluation of lookups.ContextMapLookup Looks up keys from the context.DateLookup Formats the current date or the date in the LogEvent.EnvironmentLookup Looks up keys from environment variables.EventLookup Looks up values from the log event.Interpolator Proxies all the otherStrLookup
s.JavaLookup Looks up keys related to Java: Java version, JRE version, VM version, and so on.JmxRuntimeInputArgumentsLookup Maps JVM input arguments (but not main arguments) using JMX to acquire JVM arguments.JndiLookup Looks up keys from JNDI resources.Log4jLookup Lookup properties of Log4jLowerLookup Converts values to lower case.MainMapLookup A map-based lookup for main arguments.MapLookup A map-based lookup.MarkerLookup Looks-up markers.PropertiesLookup A lookup designed forProperties
defined in the configuration.ResourceBundleLookup Looks up keys from resource bundles.RuntimeStrSubstitutor RuntimeStrSubstitutor
is aStrSubstitutor
which only supports evaluation of top-level lookups.StrMatcher A matcher class that can be queried to determine if a character array portion matches.StrSubstitutor Substitutes variables within a string by values.StructuredDataLookup Looks up keys fromStructuredDataMessage
log messages.SystemPropertiesLookup Looks up keys from system properties.UpperLookup Converts values to upper case.