Changing the settings of a running application
So far, you’ve added logging to your successful football trading application, and it receives quite a lot of traffic. The program creates logs in different places. These logs can help you figure out what the program did while it was running. Not every log is equally important. So, the program uses various log levels, ranging from debugging to error logs. Sorting logs by their level prevents an excessive number of logs from being created. However, you want to ensure you can change the minimum level of logs to be processed without restarting or redeploying your application.
Some Spring Boot Actuator endpoints allow you to make changes in runtime, with no need to restart the application. The logging endpoint is one of those endpoints as it allows you to change the minimum level of logging.
In this recipe, you will learn how to change the logging level of a running application.
Getting ready
In this recipe, you will reuse...