"No Log4j 2 configuration file found" when using Log4j2

Hello,

I am trying to develop a logging framework and I am using Log4j2 for that. I have created a new package and imported below jars as well. But when I try to initialize LogManager, I get below warning and configuration does not load. Does anyone have any idea what could be wrong ?

Jars imported :
log4j-api-2.12.1.jar
log4j-core-2.12.1.jar

Warning Message :
ERROR StatusLogger No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property ‘log4j2.debug’ to show Log4j 2 internal initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2

Java Code :

org.apache.logging.log4j.Logger logger = LogManager.getLogger(loggerName);
log.debug(“Test Log”);

Attached is how my package directory looks like.

Capture.PNG

There is one available at tech community for public use, hope it might help.

http://techcommunity.softwareag.com/ecosystem/communities/public/webmethods/products/bpm_suite/codesamples/59bf91a8-b1d3-11e4-8d00-cd8d7ef22065/

Meanwhile, I can check this error and try to post a working sample.