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/28 18:26:00 UTC
[jira] [Created] (LOG4J2-2344)
PropertiesConfigurationBuilder.createFilter exception message is incorrect
Reion Chan created LOG4J2-2344:
----------------------------------
Summary: 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
Reporter: Reion Chan
*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)