Package | Description |
---|---|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.
|
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.
|
Modifier and Type | Method | Description |
---|---|---|
static StrLookup |
PropertiesPlugin.configureSubstitutor(Property[] properties,
Configuration config) |
Creates the Properties component.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractConfigurationAwareLookup |
StrLookup that is ConfigurationAware.
|
class |
AbstractLookup |
A default lookup for others to extend.
|
class |
ContextMapLookup |
Looks up keys from the context.
|
class |
DateLookup |
Formats the current date or the date in the LogEvent.
|
class |
EnvironmentLookup |
Looks up keys from environment variables.
|
class |
Interpolator |
Proxies all the other
StrLookup s. |
class |
JavaLookup |
Looks up keys related to Java: Java version, JRE version, VM version, and so on.
|
class |
JmxRuntimeInputArgumentsLookup |
Maps JVM input arguments (but not main arguments) using JMX to acquire JVM arguments.
|
class |
JndiLookup |
Looks up keys from JNDI resources.
|
class |
Log4jLookup |
Lookup properties of Log4j
|
class |
MainMapLookup |
A map-based lookup for main arguments.
|
class |
MapLookup |
A map-based lookup.
|
class |
MarkerLookup |
Looks-up markers.
|
class |
ResourceBundleLookup |
Looks up keys from resource bundles.
|
class |
StructuredDataLookup |
Looks up keys from
StructuredDataMessage log messages. |
class |
SystemPropertiesLookup |
Looks up keys from system properties.
|
Modifier and Type | Method | Description |
---|---|---|
StrLookup |
StrSubstitutor.getVariableResolver() |
Gets the VariableResolver that is used to lookup variables.
|
Modifier and Type | Method | Description |
---|---|---|
void |
StrSubstitutor.setVariableResolver(StrLookup variableResolver) |
Sets the VariableResolver that is used to lookup variables.
|
Constructor | Description |
---|---|
Interpolator(StrLookup defaultLookup) |
|
Interpolator(StrLookup defaultLookup,
List<String> pluginPackages) |
Constructs an Interpolator using a given StrLookup and a list of packages to find Lookup plugins in.
|
StrSubstitutor(StrLookup variableResolver) |
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup variableResolver,
String prefix,
String suffix,
char escape) |
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup variableResolver,
String prefix,
String suffix,
char escape,
String valueDelimiter) |
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup variableResolver,
StrMatcher prefixMatcher,
StrMatcher suffixMatcher,
char escape) |
Creates a new instance and initializes it.
|
StrSubstitutor(StrLookup variableResolver,
StrMatcher prefixMatcher,
StrMatcher suffixMatcher,
char escape,
StrMatcher valueDelimiterMatcher) |
Creates a new instance and initializes it.
|
Modifier and Type | Class | Description |
---|---|---|
class |
WebLookup |
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.