[
https://issues.apache.org/jira/browse/LOG4J2-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17150050#comment-17150050
]
ASF subversion and git services commented on LOG4J2-2344:
---------------------------------------------------------
Commit 2a53d6844a78544feb95699ae067ad97b6fd92ef in logging-log4j2's branch
refs/heads/master from dengliming
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=2a53d68 ]
LOG4J2-2344 #359 Fix exception message in
PropertiesConfigurationBuilder#createFilter().
> PropertiesConfigurationBuilder.createFilter exception message is incorrect
> --------------------------------------------------------------------------
>
> Key: LOG4J2-2344
> URL: https://issues.apache.org/jira/browse/LOG4J2-2344
> Project: Log4j 2
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.11.0
> Reporter: Reion Chan
> Priority: Trivial
> Time Spent: 20m
> Remaining Estimate: 0h
>
> *PropertiesConfigurationBuilder*.*createFilter* exception message is incorrect
> {code:java}
> private FilterComponentBuilder createFilter(final String key, final
> Properties properties) {
> final String type = (String) properties.remove(CONFIG_TYPE);
> if (Strings.isEmpty(type)) {
> //FIXME type attribute provided for Filter, not Appender
> throw new ConfigurationException("No type attribute provided for
> Appender " + key);
> }
> }{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)