If you run from elsewhere pass in the path to the directory containing the log4j.properties file as the value of --conf parameter.


On Thu, Jan 15, 2015 at 8:07 PM, zijing.wu@qyer.com <zijing.wu@qyer.com> wrote:

Flume version

I placed flume in a dir and it seems flume have to be launched from this dir to make sure the log4j.properties in conf will be picked up.
I am confused that Lanuching from other dir, flume will NOT log anything to user assigned logger.