Skip to content

Add record log level configuration support | 支持配置 record 日志的输出级别配置 #2505

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

Closed
zhaoxinhu opened this issue Dec 20, 2021 · 2 comments
Labels
area/logging Issues or PRs related to logging of Sentinel good first issue Good for newcomers kind/feature Category issues or prs related to feature request.

Comments

@zhaoxinhu
Copy link
Contributor

我们的项目正在使用限流,并且配置了规则已生效,我们的规则基本上不变,但是限流相关的日志越来越大越来越多,我们需要花时间和精力来处理这些日志。是否可以添加一个打印日志的级别配置类似csp.sentinel.log.level=OFF的,这样我们可以直接进行关闭。我看了咱的应该是使用的默认的 private volatile Level logLevel = Level.ALL;

@sczyh30 sczyh30 added the area/logging Issues or PRs related to logging of Sentinel label Dec 20, 2021
@sczyh30 sczyh30 changed the title 你好,可以添加一个限流日志的输出级别配置吗? Add log level configuration support | 你好,可以添加一个限流日志的输出级别配置吗? Dec 22, 2021
@sczyh30 sczyh30 added the good first issue Good for newcomers label Dec 22, 2021
@sczyh30 sczyh30 changed the title Add log level configuration support | 你好,可以添加一个限流日志的输出级别配置吗? Add record log level configuration support | 支持配置 record 日志的输出级别配置 Dec 22, 2021
@sczyh30 sczyh30 added the kind/feature Category issues or prs related to feature request. label Dec 22, 2021
@sczyh30
Copy link
Member

sczyh30 commented Dec 22, 2021

Contributions are welcomed.

@sczyh30
Copy link
Member

sczyh30 commented Jan 14, 2022

Resolved by #2514

@sczyh30 sczyh30 closed this as completed Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/logging Issues or PRs related to logging of Sentinel good first issue Good for newcomers kind/feature Category issues or prs related to feature request.
Projects
None yet
Development

No branches or pull requests

2 participants