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

adjust minimal log level at runtime #855

Closed
localvar opened this issue Nov 14, 2022 · 2 comments
Closed

adjust minimal log level at runtime #855

localvar opened this issue Nov 14, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@localvar
Copy link
Collaborator

the minimal log level is currently statically configured via the configuration.
this means, when we meet an issue and need to change to the minimal log level to get more information from the log, we will have to shut down easegress and restart.
however, some issues cannot be reproduced after a restart.
so it would be a help if we could adjust the minimal log level at runtime.

@localvar localvar added the enhancement New feature or request label Nov 14, 2022
@aniaan
Copy link
Collaborator

aniaan commented Nov 15, 2022

Consider adding LoggerController(SystemController), which listens to log events to change the log level , this relationship is like the relationship between RawConfigTrafficController and Pipeline

uber-go/zap#556

@xxx7xxxx
Copy link
Contributor

Fixed by #1133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants