From the documentation at https://docs.spring.io/spring-boot/reference/features/logging.html#features.logging.console-output :
Answer from abaghel on Stack Overflowyou can also specify
debug=truein yourapplication.properties.When the debug mode is enabled, a selection of core loggers (embedded container, Hibernate, and Spring Boot) are configured to output more information.
Videos
Adding debug=true to the application.properties or
debug: true in the application.yml, file should help. You'll get more detailed logging.
Generally, if you want to see more fine-grained log messages from all members of a given package, you can set that by adding a line such as:
logging.level.<package_name>=<LOGGING_LEVEL>
for example:
logging.level.org.springframework.context=DEBUG
These log messages may be helpful in finding the core of the problem (in this case why a given exception was thrown).
@Joe Doe's answer gives much more details, but in brief:
Add below in your application.yml:
debug: true