To enable debug logging,
- we can start the application with the
--debug
switch. - we can set the
logging.level.root=debug
property inapplication.properties
file. - We can set the logging level of root logger in supplied logging configuration file.
To enable debug logging,
--debug
switch.logging.level.root=debug
property in application.properties
file.Tags: Spring BootSpring Boot Configuration
Yaniv Levy
Yaniv Levy, Entrepreneur, visioner & technology passionate with over 20 years on vast experience as a Senior Software Engineer and a Software Architect.