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

[Feature] Can dynamic log levels be supported? #3456

Open
cyberxnomad opened this issue Nov 1, 2024 · 1 comment
Open

[Feature] Can dynamic log levels be supported? #3456

cyberxnomad opened this issue Nov 1, 2024 · 1 comment
Labels
feature stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed

Comments

@cyberxnomad
Copy link

What problem is the feature used to solve?

希望能支持类似标准库中 log/slog 中的动态日志等级功能。
服务可以不停机调整日志等级,方便查账。

可以和 Kratos 配置的热更新功能组合使用,在不停机的情况下修改配置文件,从而调整日志等级。

Requirements description of the feature

References

@kratos-ci-bot kratos-ci-bot changed the title [Feature] 是否能支持动态日志等级? [Feature] Can dynamic log levels be supported? Nov 1, 2024
Copy link

dosubot bot commented Jan 31, 2025

Hi, @cyberxnomad. I'm Dosu, and I'm helping the Kratos team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • You proposed a feature for Kratos to support dynamic log levels similar to the log/slog standard library.
  • The feature would allow services to change log levels on-the-fly, avoiding downtime.
  • The suggestion involves using Kratos' hot update configuration to adjust log levels via configuration file updates.
  • There have been no comments or further activity on this issue.

Next Steps:

  • Please let us know if this issue is still relevant to the latest version of the Kratos repository by commenting here to keep the discussion open.
  • If there is no further input, this issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed
Projects
None yet
Development

No branches or pull requests

1 participant