spring-boot: Elasticsearch starter forces use of Log4j2, breaking logging in apps that try to use Logback
I’m trying to run spring-boot-starter-data-elasticsearch
in latest Milestone 2.0.0.M5.
I’ve used project template generated from start.spring.io. Here is the GitHub repo url: https://github.com/staleks/spring-boot-2.0.M5-ES
Run
$ ./gradlew clean build
$ ./gradlew bootRun
stale the process of loading application context. Please check the attached image: https://github.com/staleks/spring-boot-2.0.M5-ES/blob/master/images/staled-bootRun-process.png
On the other hand, if I switch back to 1.5.8.RELEASE version (GitHub repo url: https://github.com/staleks/spring-boot-1.5.8-ES)
Run
$ ./gradlew clean build
$ ./gradlew bootRun
application context is loaded, and web application is started. Please check the attached image: https://github.com/staleks/spring-boot-1.5.8-ES/blob/master/images/bootRun-process.png
Can someone please verify this?
Thank You
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (12 by maintainers)
Thanks, Andy. I’ll proceed as suggested and ping you once the fix is available.