vy commented on code in PR #4250:
URL: https://github.com/apache/logging-log4j2/pull/4250#discussion_r3773898440


##########
log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/visitors/PluginElementVisitor.java:
##########
@@ -47,6 +47,10 @@ public Object visit(
             boolean first = true;
             for (final Node child : node.getChildren()) {
                 final PluginType<?> childType = child.getType();
+                if (childType == null) {
+                    LOGGER.debug("Ignoring unresolved element {} in {}.", 
child.getName(), node.getName());

Review Comment:
   We should increase the severity of this message:
   
   ```suggestion
                       LOGGER.error("Ignoring unresolved element {} in {}.", 
child.getName(), node.getName());
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to