title: Error when placing log4j2.xml under resources/xml
body: <p>When I put my log4j2.xml under the resources/xml folder, I get the following error:
  <em>ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.</em></p>
  
  <p>When I place it directly under resources.xml, it works perfectly. I have also given -Dlog4j.configurationFile=src/main/resources/xml/log4j2.xml under Run As->Run Configuration->Arguments tab. It doesn't work. What else can I do. Please help!</p>
  
  <p>I also get this error log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory). with Hbase in the first case (under resources folder). How can I eliminate this?</p>