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