Unable to run the flume job


#1

Below is the error message i am receiving the flume job. Please help:

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.

Below is the command:

flume-ng agent -n wh -f /home/pramod882/flumedemo/first.conf

and below is the conf file

Name the components on this agent

a1.sources = ws
a1.sinks = k1
a1.channels = c1

Describe/configure the source

a1.sources.ws.type = exec
a1.sources.ws.command = tail -F /opt/gen_logs/logs/access.log

Describe the sink

a1.sinks.k1.type = logger

Use a channel which buffers events in memory

a1.channels.c1.type = memory
a1.channels.c1.capacity = 1000
a1.channels.c1.transactionCapacity = 100

Bind the source and sink to the channel

a1.sources.ws.channels = c1
a1.sinks.k1.channel = c1

Thank you


#2

@hpramodn follow the link Flume ERROR StatusLogger No log4j2 configuration file found