We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f87c5a7 commit 5fbff3fCopy full SHA for 5fbff3f
log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java
@@ -674,9 +674,7 @@ protected void doConfigure() {
674
boolean setRoot = false;
675
for (final Node child : rootNode.getChildren()) {
676
if ("Properties".equalsIgnoreCase(child.getName())) {
677
- if (tempLookup == runtimeStrSubstitutor.getVariableResolver()) {
678
- LOGGER.error("Properties declaration must be the first element in the configuration");
679
- }
+ // We already used this node
680
continue;
681
}
682
createConfiguration(child, null);
0 commit comments