You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Reion Chan (JIRA)" <ji...@apache.org> on 2018/05/29 01:43:00 UTC
[jira] [Updated] (LOG4J2-2344)
PropertiesConfigurationBuilder.createFilter exception message is incorrect
[ https://issues.apache.org/jira/browse/LOG4J2-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reion Chan updated LOG4J2-2344:
-------------------------------
Affects Version/s: 2.11.0
> 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
>
> *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
(v7.6.3#76005)