When I run my Spring boot application, I get the conditions evaluation report in my console logs.
How can I disable or exclude this report from my console logs in Sp
While the other answer works, it's also possible to set the log level to INFO
:
logging.level.org.springframework.boot.autoconfigure=INFO
You'll get the condition outcome report if you:
debug=true
within application.properties.org.springframework.boot.autoconfigure.logging
to DEBUG
.This can be useful when you're trying to find out why certain beans are not being loaded, because with this report you can see exactly which autoconfiguration is being loaded, and which one isn't (and why).
You can disable this output by undoing the earlier mentioned bullet points. For example, you could set the logging level of org.springframework.boot.autoconfigure.logging
to INFO
:
logging.level.org.springframework.boot.autoconfigure.logging=INFO
You can do this by changing the log level of org.springframework.boot.autconfigure
. For example by adding the following line within application.properties
:
logging.level.org.springframework.boot.autoconfigure=ERROR