Closed
Description
Since 2.1.0M2, overriding Spring logging levels in dev mode using logback-spring.xml
doesn't work. Attaching a project generated with Initializr, with logback-spring.xml
file (that lowers spring level to WARN) added in resources
demo (8).zip. To reproduce:
- run
gradlew bootRun
- observe log messages
- revert boot version to 2.1.0.M1 in
build.gradle
- run
gradlew bootRun
again and watch spring related log entries disappear
On a side note, I'm not sure if the decision to include these DEBUG logs by default, even in dev mode, was well thought. The result is a lot of unhelpful information in the log. Frankly I would rather leave the DEBUG off by default, as 99% percent of the time I don't need these logs while developing.
Also reported here