Usually if I want to turn the logging on a class up or down, I put this in my application.yml
:
logging:
level:
org.foo.Bar: INFO
However, that doesn't seem to be working in Spring Boot 3.x (currently using 3.0.4). The documentation says to use quotes and lower-case instead, so I tried e.g. "info"
but I'm still getting debug logs from org.foo.Bar
in my unit tests. I also tried both formats in src/test/resources/application.yml
to see if it was something funky with the test context. Still no luck. What am I missing here?