I observed something today on a new app I stood up for PoC. For some strange reason I cannot turn off condition evaluation report
. I have never ran into this before and I have been messing with Spring since mid 2000s. Did something change, I zapped through the document to see if something jumps out on me, but no luck so far. It is an inconvenience since it forces one to increase console buffer to see all the logs.
Spring-boot version: 3.4.2
I am basically using spring-boot-start-rest
but turned on log4j2. Could that be the issue?
Here is the section of logging configuration:
logging:
group:
autoconfigure: "org.springframework.boot.autoconfigure"
hikari: "com.zaxxer.hikari"
web: "org.springframework.web"
level:
root: ERROR
autoconfigure: WARN
hikari: INFO
web: INFO
Oh by the way, I do not remember setting debug=true
anywhere in my application.yaml
Cheers!
Comment From: bsakweson
Update:
I just noticed condition evaluation report
shows up every time there is an error.
Comment From: wilkinsona
I just noticed condition evaluation report shows up every time there is an error.
If the error's occurring when creating the application context in a test, that was always meant to happen but it has been broken for some time. It was fixed in https://github.com/spring-projects/spring-boot/issues/42185.