Loggers management endpoint
Likewise, the Spring Boot actuator provides two valuable endpoints for log management. The first one is /actuator/loggers, which allows accessing and changing logging levels at runtime without the application restart. This endpoint is very helpful since switching the granularity of information without a service restart is an essential part of a successful application operation. In light of the complicated debug experience related to reactive applications, the ability to switch log levels and analyze the outcome on the fly is crucial. Of course, it is not very convenient to change log levels from a console with a curl command, but this feature plays well with Spring Boot admin, which provides a pretty UI for such ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access