Check this solutions mentioned in this page if they can help you https://medium.com/@ganeshbn21/resolving-log4j2-configuration-issues-after-spring-upgrade-on-jboss-eap-7-3-157d9c75ca49