title: Spring MVC + Log4j2 defining log4j2.properties file in none class path location not identified
body: <p>I'm trying to configure Spring (non boot) MVC project with log4j2 logging capabilities. Currently I've placed all <code>*.properties</code> files in a location that is not in the class path. I've used <code>@PropertySource</code> annotation for this configuration. I'm getting below message</p>
  
  <blockquote>
    <p>ERROR StatusLogger No Log4j 2 configuration file found.<br>
    Using default configuration (logging only errors to the console), or user programmatically provided configurations.<br>
    Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging.<br>
    See <a href="https://logging.apache.org/log4j/2.x/manual/configuration.html" rel="nofollow noreferrer">https://logging.apache.org/log4j/2.x/manual/configuration.html</a> for instructions on how to configure Log4j 2</p>
  </blockquote>
  
  <p>Any clue on how and where I've done wrong? if there are good references to check please do share.</p>