Skip to content

Clean logging dependencies #11148

@jhoeller

Description

@jhoeller

The Spring Boot 2.0 starters seem to have a few oddities in master still:

  • The core starter excludes commons-logging from spring-core (which isn't necessary anymore with Spring Framework 5.0's spring-jcl arrangement).

  • spring-boot-starter-logging brings in log4j-over-slf4j which is a legacy Log4J 1.2 API binding (EOL'ed). Isn't it just meant to bring in log4j-to-slf4j for the Log4J 2.x API binding?

  • spring-boot-starter-log4j2 brings in log4j-core as well as log4j-api but the latter is a transitive dependency of the former anyway, at least in all recent versions.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions