title: Spring Profiles, different Log4j2 configs
body: <p>In my application.yml I got:</p>
  
  <pre><code>logging: 
    config: classpath:log4j2.debug.yml
  </code></pre>
  
  <p>And some others in different profiles. When I start the Application I get the following: </p>
  
  <pre><code>ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
  </code></pre>
  
  <p>If I just put log4j2.xml next to the profiled ones it works. So I think this is a something where I miss a dependancy or it is not possible with log4j2?</p>
  
  <p>Reference: <a href="http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-logging.html#boot-features-custom-log-configuration" rel="noreferrer">Boot Logging Level</a> says it should be possible like I try?</p>