[ 
https://issues.apache.org/jira/browse/LOG4J2-545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13916628#comment-13916628
 ] 

Ralph Goers commented on LOG4J2-545:
------------------------------------

This is not a simple change. If you can provide a patch I would be happy to 
look at it. Otherwise it is going to remain a fairly low priority item.

> Multiple FlumeAppender Agents
> -----------------------------
>
>                 Key: LOG4J2-545
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-545
>             Project: Log4j 2
>          Issue Type: Improvement
>            Reporter: Michael Friedmann
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to