Not able to run flume agent

flume

#1

Hi,
I am unable to run flume agent. This is my first program in flume. I am using the config file /etc/flume/conf/flume-conf.properties.template with no change in the default settings. The following command was issued

flume-ng agent -n agent --conf-file /etc/flume/conf/flume-conf.properties.template

But the system is throwing the following error and does not show anything thereafter. Neither it comes back to the command prompt until ^C pressed

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.

Please help

Thanks


#2

include conf file as part of the flume agent command