I\'m getting this error trying to use log4j2 with spring boot.
ERROR StatusLogger Log4j2 could not find a logging implementation.
Please add log4j-core to t
It looks your dependencies are correct. This is the pom of working spring-boot application with log4j2 as logging framework:
org.springframework.boot
spring-boot-starter
org.springframework.boot
spring-boot-starter-logging
org.springframework.boot
spring-boot-starter-log4j2
Put your log4j2.xml into resource folder for running from eclipse; if you prefer to use the different directory - resource/conf - provide the path to log4j2 configuration with JVM argument like this:
-Dlog4j.configurationFile=”conf/log4j2.xml”
Do not give up and switch back from logback to log4j2...