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

Incorrect error message if agent name specified in Flume appender properties

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta6
    • Fix Version/s: 2.0-beta7
    • Component/s: Appenders
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: