garydgregory commented on a change in pull request #762:
URL: https://github.com/apache/logging-log4j2/pull/762#discussion_r810543758
##########
File path:
log4j-1.2-api/src/main/java/org/apache/log4j/builders/BuilderManager.java
##########
@@ -71,7 +71,7 @@ public Appender parseAppender(String name, String className,
String prefix, Stri
String filterPrefix, Properties props, PropertiesConfiguration
config) {
Objects.requireNonNull(plugins, "plugins");
Objects.requireNonNull(className, "className");
- PluginType<?> plugin = plugins.get(className.toLowerCase());
+ PluginType<?> plugin = plugins.get(className.toLowerCase().trim());
Review comment:
I am sorry @ppkarwasz I misread the line, I though the trim was applied
to the result of the get, my mistake.
--
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]