Skip to content

Commit 5fbff3f

Browse files
committed
Review corrections for #2278
1 parent f87c5a7 commit 5fbff3f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -674,9 +674,7 @@ protected void doConfigure() {
674674
boolean setRoot = false;
675675
for (final Node child : rootNode.getChildren()) {
676676
if ("Properties".equalsIgnoreCase(child.getName())) {
677-
if (tempLookup == runtimeStrSubstitutor.getVariableResolver()) {
678-
LOGGER.error("Properties declaration must be the first element in the configuration");
679-
}
677+
// We already used this node
680678
continue;
681679
}
682680
createConfiguration(child, null);

0 commit comments

Comments
 (0)