Package | Description |
---|---|
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
org.apache.logging.log4j.core.appender.routing |
Apache Flume Appender.
|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.
|
org.apache.logging.log4j.core.config.builder.impl |
Configuration Builder Implementation.
|
org.apache.logging.log4j.core.config.composite |
Support for composite configurations.
|
org.apache.logging.log4j.core.config.json |
Classes and interfaces supporting configuration of Log4j 2 with JSON.
|
org.apache.logging.log4j.core.config.plugins.util |
Utility and manager classes for Log4j 2 plugins.
|
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.config.xml |
Classes and interfaces supporting configuration of Log4j 2 with XML.
|
Modifier and Type | Field and Description |
---|---|
private Node |
AppenderSet.Builder.node |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,Node> |
AppenderSet.nodeMap |
Modifier and Type | Method and Description |
---|---|
Node |
AppenderSet.Builder.getNode() |
Modifier and Type | Method and Description |
---|---|
AppenderSet.Builder |
AppenderSet.Builder.withNode(Node node) |
Constructor and Description |
---|
AppenderSet(Configuration configuration,
java.util.Map<java.lang.String,Node> appenders) |
Modifier and Type | Field and Description |
---|---|
private Node |
Route.node |
Modifier and Type | Method and Description |
---|---|
Node |
Route.getNode()
Returns the Dynamic Appender Node.
|
Modifier and Type | Method and Description |
---|---|
static Route |
Route.createRoute(java.lang.String appenderRef,
java.lang.String key,
Node node)
Create the Route.
|
Constructor and Description |
---|
Route(Node node,
java.lang.String appenderRef,
java.lang.String key) |
Modifier and Type | Field and Description |
---|---|
private Node |
AbstractConfiguration.advertiserNode |
private Node |
Node.parent |
protected Node |
AbstractConfiguration.rootNode
The root node of the configuration.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Node> |
Node.children |
Modifier and Type | Method and Description |
---|---|
Node |
Node.getParent() |
Node |
AbstractConfiguration.getRootNode() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Node> |
Node.getChildren() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractConfiguration.createConfiguration(Node node,
LogEvent event) |
void |
Configuration.createConfiguration(Node node,
LogEvent event) |
private static java.util.Collection<?> |
AbstractConfiguration.createPluginCollection(Node node) |
private static java.util.Map<java.lang.String,?> |
AbstractConfiguration.createPluginMap(Node node) |
private java.lang.Object |
AbstractConfiguration.createPluginObject(PluginType<?> type,
Node node,
LogEvent event)
Invokes a static factory method to either create the desired object or to create a builder object that creates
the desired object.
|
protected void |
AbstractConfiguration.preConfigure(Node node) |
Constructor and Description |
---|
Node(Node node) |
Node(Node parent,
java.lang.String name,
PluginType<?> type)
Creates a new instance of
Node and initializes it
with a name and the corresponding XML element. |
Modifier and Type | Method and Description |
---|---|
protected Node |
BuiltConfiguration.convertToNode(Node parent,
Component component) |
Modifier and Type | Method and Description |
---|---|
protected Node |
BuiltConfiguration.convertToNode(Node parent,
Component component) |
Modifier and Type | Method and Description |
---|---|
private Node |
DefaultMergeStrategy.getLoggerNode(Node parentNode,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
private Node |
DefaultMergeStrategy.getLoggerNode(Node parentNode,
java.lang.String name) |
private boolean |
DefaultMergeStrategy.isFilterNode(Node node) |
private boolean |
DefaultMergeStrategy.isSameName(Node node1,
Node node2) |
private boolean |
DefaultMergeStrategy.isSameReference(Node node1,
Node node2) |
void |
DefaultMergeStrategy.mergConfigurations(Node target,
Node source,
PluginManager pluginManager)
Merge the source Configuration into the target Configuration.
|
void |
MergeStrategy.mergConfigurations(Node target,
Node source,
PluginManager pluginManager)
Merge the soure node tree into the target node tree.
|
void |
DefaultMergeStrategy.mergeRootProperties(Node rootNode,
AbstractConfiguration configuration)
Merge the root properties.
|
void |
MergeStrategy.mergeRootProperties(Node rootNode,
AbstractConfiguration configuration)
Merge the root node properties into the configuration.
|
private void |
CompositeConfiguration.printNodes(java.lang.String indent,
Node node,
java.lang.StringBuilder sb) |
private void |
DefaultMergeStrategy.updateFilterNode(Node target,
Node targetChildNode,
Node sourceChildNode,
PluginManager pluginManager) |
Modifier and Type | Method and Description |
---|---|
private Node |
JsonConfiguration.constructNode(java.lang.String name,
Node parent,
com.fasterxml.jackson.databind.JsonNode jsonNode) |
Modifier and Type | Method and Description |
---|---|
private Node |
JsonConfiguration.constructNode(java.lang.String name,
Node parent,
com.fasterxml.jackson.databind.JsonNode jsonNode) |
private void |
JsonConfiguration.processAttributes(Node parent,
com.fasterxml.jackson.databind.JsonNode node) |
Modifier and Type | Field and Description |
---|---|
private Node |
PluginBuilder.node |
Modifier and Type | Method and Description |
---|---|
PluginBuilder |
PluginBuilder.withConfigurationNode(Node node)
Specifies the Node corresponding to the plugin object that will be created.
|
Modifier and Type | Method and Description |
---|---|
private Node |
PluginElementVisitor.findNamedNode(java.lang.String name,
java.lang.Iterable<Node> children) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
PluginBuilderAttributeVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
java.lang.StringBuilder log) |
java.lang.Object |
PluginValueVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
java.lang.StringBuilder log) |
java.lang.Object |
PluginNodeVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
java.lang.StringBuilder log) |
java.lang.Object |
PluginVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
java.lang.StringBuilder log)
Visits a Node to obtain a value for constructing a Plugin object.
|
java.lang.Object |
PluginConfigurationVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
java.lang.StringBuilder log) |
java.lang.Object |
PluginAttributeVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
java.lang.StringBuilder log) |
java.lang.Object |
PluginElementVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
java.lang.StringBuilder log) |
Modifier and Type | Method and Description |
---|---|
private Node |
PluginElementVisitor.findNamedNode(java.lang.String name,
java.lang.Iterable<Node> children) |
Modifier and Type | Method and Description |
---|---|
private void |
XmlConfiguration.constructHierarchy(Node node,
org.w3c.dom.Element element) |
private java.util.Map<java.lang.String,java.lang.String> |
XmlConfiguration.processAttributes(Node node,
org.w3c.dom.Element element) |