Framework independent configuration

Irrespective of the logging framework used, Spring Boot allows a few basic configuration options in application properties. A few examples are shown as follows:

   logging.level.org.springframework.web=DEBUG
logging.level.org.hibernate=ERROR
logging.file=<<PATH_TO_LOG_FILE>>

In the age of microservices, irrespective of the framework you use for logging, we recommend that you log to the console (instead of a file) and use a centralized logging store tool to capture logs from all microservice instances.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset