Flume log4j2 error



Hi there,
I tried running flume agent using the below command.
flume-ng agent --name a1 --conf-file /home/manojgosavi2901/flume_demo/example.conf
the agent starts & fails giving the below error
“ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property ‘log4j2.debug’ to show Log4j2 in
ternal initialization logging.”

Can you please help me to reslove thisproblem earliest.

Manoj Gosavi


@Manoj_Gosavi Please refer this below link.


Thanks Annapurna, but I see the file “flume.conf” under the etc/flume/conf is readonly & cannot add my configuration , also there is no copy permission to folder. Can you please help & tell me how do I edit the file for adding the configuration.