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

Multiple FlumeAppender Agents

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Flume Appender
    • Labels:
      None

      Description

      Currently, when configuring a FlumeAppender in log4j2.xml, each Agent is configured on a separate line, e.g.:

      <Agent host="host1" port="port1" />
      <Agent host="host2" port="port2" />

      This makes it difficult to configure dynamically via properties as one may not know ahead of time how many Flume agents are available.

      Consider supporting the following configuration:

      <Agent hosts="host1:port1,host2:port2" />

      This allows for a single property containing all the hosts and ports to be injected at runtime.

        Attachments

          Activity

            People

            • Assignee:
              rgoers Ralph Goers
              Reporter:
              mfriedmann Michael Friedmann
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: