P E N C I L
Login
Spring-log

https://www.baeldung.com/logback

LogBack is a new version of log4j, an implementation of SLF4J-API

Dont use Log4J implementation in spring boot

Java Log (JUL) is routed to slf4j (jul-to-slf4j)

Spring boot use JCL (commons-logging) due to legacy.

Practice:

- Add slf4j-api

- Add logback implementaion of slf4j (logback-classic AND logback-core)

- Bridge legacy

- Add jcl-over-slf4j

- Add Log4j-to-slf4j

- Add jul-to-slf4j

- Exclude commons-logging (jcl)

Ref:

https://docs.spring.io/spring/docs/5.0.0.M5/spring-framework-reference/html/overview.html