I am getting a myriad of exceptions trying to run my spring boot project in Eclipse. What they have in common is a "re-run your application with 'debug' enabled" How exactly is this done?
I tried a few to no avail. Your assistance much appreciated!
You can also enable a “debug” mode by starting your application with a --debug flag. You can also specify debug=true in your application. properties . When the debug mode is enabled, a selection of core loggers (embedded container, Hibernate, and Spring Boot) are configured to output more information.
In your case you must set logging. level. root on one of level from INFO, WARN, ERROR,FATAL or OFF to turn off all logging.
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With