You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2013/05/20 08:43:16 UTC

[jira] [Resolved] (LOG4J2-261) Incorrect error message if agent name specified in Flume appender properties

     [ https://issues.apache.org/jira/browse/LOG4J2-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers resolved LOG4J2-261.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0-beta7

Fix applied in revision 1484380. Please verify and close.
                
> Incorrect error message if agent name specified in Flume appender properties
> ----------------------------------------------------------------------------
>
>                 Key: LOG4J2-261
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-261
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 2.0-beta6
>            Reporter: Edward Sargisson
>            Priority: Minor
>             Fix For: 2.0-beta7
>
>
> FlumeEmbeddedManager ll270-275:
> if (upperKey.startsWith(name.toUpperCase(Locale.ENGLISH))) {
>                         final String msg =
>                             "Specification of the agent name is allowed in Flume Appender configuration: " + key;
>                         LOGGER.error(msg);
>                         throw new ConfigurationException(msg);
>                     }
> I think the error message should have "not" inserted.
>  "Specification of the agent name is not allowed in Flume Appender configuration: " + key;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org