title: Ignoring log patterns of dependencies
body: <p>I have a Spring Boot project with a dependency to a third party library. This library uses SLF4J with Log4j2 for logging, and has a log4j2.xml with a pattern layout defined. </p>
  
  <p>The problem is that the pattern layout of this dependency is used as the pattern for my application, ignoring the layout defined in application.properties.</p>
  
  <p>If I can't modify the source code of this third party lib, is possible to configure my app in order to ignore the log4j2.xml?</p>