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

Thanks, 
Hari


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

Flume version
    apache-flume-1.5.0-cdh5.1.0

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.



zijing.wu@qyer.com