Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-261

Incorrect error message if agent name specified in Flume appender properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-beta6
    • 2.0-beta7
    • Appenders
    • None

    Description

      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;

      Attachments

        Activity

          People

            Unassigned Unassigned
            ejsarge Edward Sargisson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: