Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Does The Spring Boot "debug" Config Property Set?

If I configure my Spring Boot web app with the following property in my application.yaml config file:

debug: true

I've noticed that my logging config gets ignored and everything is set to a DEBUG level. Makes sense.

Does debug=true affect anything else though? Or is this simply a logging thing?

like image 939
Kong Avatar asked Oct 29 '25 03:10

Kong


1 Answers

From the documentation at https://docs.spring.io/spring-boot/reference/features/logging.html#features.logging.console-output :

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.

like image 144
abaghel Avatar answered Oct 31 '25 18:10

abaghel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!