zhaojp0411 / flume-log4j-example

Example of running the flume log4j appender using CDH4 Flume

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flume-log4j-example

Example of running the flume log4j appender using CDH4 Flume.

To compile:

mvn clean package

To run:

java -cp target/flumelog4jtest-1.0-jar-with-dependencies.jar com.cloudera.flume.flumelog4jtest.LogTestApp

An example Flume agent configuration file is provided in the flume.avro-mem-logger.properties file.

About

Example of running the flume log4j appender using CDH4 Flume