Repository navigation
[release-8.5] log(logger): only write sarama logs at debug level - #6986
ti-chi-bot[bot] merged 7 commits into
Conversation
Signed-off-by: ti-chi-bot <ti-chi-bot@users.noreply.github.com>
|
@3AceShowHand This PR has conflicts, I have held it. Please resolve them or ask others to resolve them, then comment |
|
Important Review skippedBot user detected. Ask an organization administrator to verify that this bot has an active assigned CodeRabbit review seat. See the seat-assignment guide. After the seat is confirmed, request a review again.
|
|
/cherry-pick-invite |
|
@3AceShowHand: Please accept the invitation, then you can push to the cherry-pick pull requests. Comment with DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Cherry-pick conflicts appear resolved; removing the |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 3AceShowHand The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold |
|
Cherry-pick conflicts appear resolved; removing the |
|
/test all |
|
/unhold |
This is an automated cherry-pick of #6982
What problem does this PR solve?
Issue Number: close #6983
What is changed and how it works?
initSaramaLoggeralways installs the zap adapter instead of swapping in anio.Discardlogger atinfoand above; sarama messages are written atdebuglevel, so the log level alone decides whether they show up./api/v2/log) turns sarama output on without a restart.initSaramaLoggeris dropped;initOptionalComponentparses the level only for the gRPC logger.Check List
Tests
Start a capture at
info, write tosarama.Logger, and confirm nothing is written; then set the level todebugand confirm the message shows up.Questions
Will it cause performance regression or break compatibility?
No.
Do you need to update user documentation, design documentation or monitoring documentation?
No.
Release note
Summary by CodeRabbit