[
https://issues.apache.org/jira/browse/LOG4J2-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064332#comment-14064332
]
Ralph Goers commented on LOG4J2-720:
------------------------------------
You won't find references to any Flume properties within the Embedded version
of the Appender as all those properties are passed on directly to Flume. The
properties that are passed to Flume are constructed in the createProperties
method of FlumeEmbeddedManager. That said, the Log4j documentation is probably
in error as it was written when Log4j integrated with Flume via the RPC client.
As of Flume 1.4 it now uses the Flume Embedded Agent -
http://flume.apache.org/FlumeDeveloperGuide.html#embedded-agent. From what I
can tell from that page Flume does not support Interceptors in the embedded
agent.
> How to configure interceptor in embedded flume appender
> -------------------------------------------------------
>
> Key: LOG4J2-720
> URL: https://issues.apache.org/jira/browse/LOG4J2-720
> Project: Log4j 2
> Issue Type: Question
> Affects Versions: 2.0-rc2
> Reporter: Bijith Kumar
>
> The current doc says "Interceptors can be specified for the source using
> "sources.log4j-source.interceptors"". However, this doesn't work. As the
> property name syntax is a bit different for xml configuration, I did try
> different properties like "source.interceptors", "interceptors" and
> "interceptor" etc. None worked. I could not find any reference to
> interceptors in EmbeddedAgentConfiguration.java either.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]