I have a standalone java application which uses log4j2 to print the logger statements. I have configured flume client and flume server. Flume server is working fine. When I run the java application, I get the connection created in server but the logger statements are not getting printed.
Here is the logger statements in Flume server console:
INFO [lifecycleSupervisor-1-5] (org.apache.flume.source.AvroSource.start:168) - Avro source r1 started.
INFO [pool-7-thread-1] (org.apache.avro.ipc.NettyServer$NettyServerAvroHandler.handleUpstream:171) - [id: 0x00633e5e, /127.0.0.1:56177 => /127.0.0.1:8800] OPEN
INFO [pool-8-thread-1] (org.apache.avro.ipc.NettyServer$NettyServerAvroHandler.handleUpstream:171) - [id: 0x00633e5e, /127.0.0.1:56177 => /127.0.0.1:8800] BOUND: /127.0.0.1:8800
INFO [pool-8-thread-1] (org.apache.avro.ipc.NettyServer$NettyServerAvroHandler.handleUpstream:171) - [id: 0x00633e5e, /127.0.0.1:56177 => /127.0.0.1:8800] CONNECTED: /127.0.0.1:56177
Please help me with this issue. How should I get the logger statements from java standalone application in Flume server console?
Thanks in advance.