No log file was created for my new app using 2.3.0. It started working again after changing to 2.2.6. I also tested 2.2.7, and it works fine as well. I get the following log for 2.2.6 and 2.2.7, but not in 2.3.0,
LOGBACK: No context given for c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1132967838
Steps to reproduce this isssue,
- create a project at https://start.spring.io/ using default values for everything
- update application.properties by adding, logging.file=demo.log
- mvn spring-boot:run
- no demo.log generated
- update pom.xml by changing 2.3.0.RELEASE to 2.2.7.RELEASE
- mvn spring-boot:run
demo.log was created properly.
Comment From: spencergibb
https://docs.spring.io/spring-boot/docs/2.3.0.RELEASE/reference/html/spring-boot-features.html#boot-features-logging-file-output
Comment From: wilkinsona
Thanks, @spencergibb.
This is a duplicate of https://github.com/spring-projects/spring-boot/issues/21479.