Flume agent not working


#1

Hi,

When i try this command it fails:
flume-ng agent --conf conf --conf-file flume.properties --name a1 Dflume.root.logger=INFO,console

ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property ‘log4j2.debug’ to show Log4j2 internal initialization logging.

And i dont have permission to update this file:
/usr/hdp/current/flume-server/conf/agent/log4j2.xml

Please resolve this issue …looks like some issue with the environment. Thank you.


#2

Hi @Rajasekhar_Rao,

This discussion will prvoide you more info on the same.


#3

Thanks Abhinav.

I resolved this issue by adding this parameter to the flume command: -Dorg.apache.logging.log4j.level=INFO


#4

Thats great @Rajasekhar_Rao