[
https://issues.apache.org/jira/browse/LOG4J2-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Volkan Yazici closed LOG4J2-2344.
---------------------------------
> 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: 0.5h
> 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)