Skip to content

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

Open
xfrogcn wants to merge 3 commits intospring-cloud:mainfrom
xfrogcn:main
Open

support logger group when refresh by the /refresh endpoint#948
xfrogcn wants to merge 3 commits intospring-cloud:mainfrom
xfrogcn:main

Conversation

@xfrogcn
Copy link
Copy Markdown

@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
Copy Markdown

@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
Copy Markdown

@xfrogcn Thank you for signing the Contributor License Agreement!

@spencergibb
Copy link
Copy Markdown
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.

4 participants