java – How to display auto-configuration report when running a Spring Boot application

java – How to display auto-configuration report when running a Spring Boot application

Set debug = true or debug: true in your properties/yml. It can also be passed as an argument --debug.

There are further details available in the Spring Boot documentation on what the debug flag does.

https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-logging-console-output

In Run/Debug Configurations check Enable debug output

enter

java – How to display auto-configuration report when running a Spring Boot application

There are lots of properties you can refer to in common-application-properties, when configuring the properties.

# ----------------------------------------
# CORE PROPERTIES
# ----------------------------------------
debug=false # Enable debug logs.
trace=false # Enable trace logs.

Leave a Reply

Your email address will not be published. Required fields are marked *