-
Notifications
You must be signed in to change notification settings - Fork 38
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
Reduce noisy tendermint logs #163
Conversation
@@ -2003,7 +2003,7 @@ func (cs *State) enterCommit(ctx context.Context, height int64, commitRound int3 | |||
logger := cs.logger.With("height", height, "commit_round", commitRound) | |||
|
|||
if cs.roundState.Height() != height || cstypes.RoundStepCommit <= cs.roundState.Step() { | |||
logger.Info( | |||
logger.Debug( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shoudl we do the same with some of the other "entering..." logs?
- https://github.com/sei-protocol/sei-tendermint/blob/main/internal/consensus/state.go#L1602
- https://github.com/sei-protocol/sei-tendermint/blob/main/internal/consensus/state.go#L1616
- https://github.com/sei-protocol/sei-tendermint/blob/main/internal/consensus/state.go#L1807
- https://github.com/sei-protocol/sei-tendermint/blob/main/internal/consensus/state.go#L1822
- https://github.com/sei-protocol/sei-tendermint/blob/main/internal/consensus/state.go#L1848
- https://github.com/sei-protocol/sei-tendermint/blob/main/internal/consensus/state.go#L1858
- https://github.com/sei-protocol/sei-tendermint/blob/main/internal/consensus/state.go#L1968
- https://github.com/sei-protocol/sei-tendermint/blob/main/internal/consensus/state.go#L1984
- https://github.com/sei-protocol/sei-tendermint/blob/main/internal/consensus/state.go#L2006
- https://github.com/sei-protocol/sei-tendermint/blob/main/internal/consensus/state.go#L2006
- https://github.com/sei-protocol/sei-tendermint/blob/main/internal/consensus/state.go#L2103
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, check again?
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #163 +/- ##
==========================================
+ Coverage 58.98% 58.99% +0.01%
==========================================
Files 281 281
Lines 38858 38858
==========================================
+ Hits 22922 22926 +4
- Misses 14145 14147 +2
+ Partials 1791 1785 -6
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a q: after this change will there be any log left that can indicate consensus is progressing?
Describe your changes and provide context
This change will help to reduce the noisy logs such as
Testing performed to validate your change