• Ben Hale's avatar
    Add `/loggers` actuator endpoint · 06cb4fcc
    Ben Hale authored
    Add `LoggersEndpoint` that can enables listing and configuration of log
    levels. This actuator builds on top of the `LoggingSystem` abstraction
    and implements support for Logback, Log4J2, and JUL.  The LoggingSystem
    interface is modified to require each implementation to list the
    configuration of all loggers as well as an individual logger by name.
    
    The MVC endpoint exposes these behaviors at `GET /loggers` and
    `GET /loggers/{name}` (much like the metrics actuator).
    
    In addition `POST /loggers/{name}` allows users to modify the level for a given
    logger. This modification is passed to the logging implementation, which
    then decides, as an internal implementation detail, what the final outcome
    of the modification is (e.g. changing all unconfigured children). Users
    are then expected to request the listing of all loggers to see what has
    changed internally to the logging system.
    
    Closes gh-7086
    06cb4fcc
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...