Flume log4j2 error

flume

#1

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.

Thanks,
Manoj Gosavi


#2

@Manoj_Gosavi Please refer this below link.


#3

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.