spring-cloud-commons
spring-cloud-commons copied to clipboard
support logger group when refresh by the /refresh endpoint
The current implement of LoggingRebinder , when refreshed by the /refresh endpoint, only changes the level of specific loggers and does not yet support changes the level of logger groups. This pull request adds support for logger groups in LoggingRebinder, including:
- Modify the log level of the logger group
- Dynamically add, modify, delete logger groups or loggers in groups
@xfrogcn Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
@xfrogcn Thank you for signing the Contributor License Agreement!
The constructor change is a breaking change, meaning this wouldn't be able to be included until next year. It seems like some of the changes go beyond groups setDefaultLogLevel()
. Can you describe what those do?