Spring Boot requests: to “re-run your application with ‘debug’ enabled” – how do I?

Adding the following line

debug=true

to the application.properties or 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 to find the core of the problem (in this case why a given exception was thrown)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)