Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support logger group when refresh by the /refresh endpoint #948

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

xfrogcn
Copy link

@xfrogcn xfrogcn commented Apr 30, 2021

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:

  1. Modify the log level of the logger group
  2. Dynamically add, modify, delete logger groups or loggers in groups

王海波 and others added 3 commits April 29, 2021 18:11
…p and refreshing the logger group definition when refreshed through refresh endpoint
…ed logger will use root logger level, and then if changed the root level from configuration, the removed logger level will be change.
…ed logger will use root logger level, and then if changed the root level from configuration, the removed logger level will be change.
@pivotal-issuemaster
Copy link

@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.

@pivotal-issuemaster
Copy link

@xfrogcn Thank you for signing the Contributor License Agreement!

@spencergibb
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants