Skip to content

Elasticsearch starter forces use of Log4j2, breaking logging in apps that try to use Logback #10847

@staleks

Description

@staleks

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

  1. $ ./gradlew clean build
  2. $ ./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

  1. $ ./gradlew clean build
  2. $ ./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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions