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

improve log readability #3379

Merged
merged 1 commit into from
Oct 8, 2024
Merged

improve log readability #3379

merged 1 commit into from
Oct 8, 2024

Conversation

stana-miric
Copy link
Contributor

This pr adds a section in readme file related to unsafe-start-local-validator command. The section describes how to prevent logging of misleading log messages that might appear if some node msgs are attempt to be replayed to the blockchain. Since we don't need this replay data because we are creating new block with the new(replaced validator), the content can be deleted and the log wont show the error logs similar to this:

2:52PM INF Replay: Vote blockID=C80F67CDC3EFDB6E3496605908EFBDEA0A73E58315E9B34A3491C3383702D8F4:1:5ED0B863FBFA extSigLen=0 extensionLen=0 height=22453073 module=consensus peer=7314c477c9d7fea4e2ebf51581f2324971260494 round=0 type=SIGNED_MSG_TYPE_PRECOMMIT
2:52PM INF failed attempting to add vote err="cannot find validator 151 in valSet of size 1: invalid validator index" module=consensus
2:52PM ERR failed to process message err="error adding vote" height=22453074 module=consensus msg_type=*consensus.VoteMessage peer=7314c477c9d7fea4e2ebf51581f2324971260494 round=0

Copy link
Contributor

@MSalopek MSalopek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

LGTM

@stana-miric stana-miric merged commit 0e50a2d into main Oct 8, 2024
14 checks passed
@stana-miric stana-miric deleted the smiric/readme-update branch October 8, 2024 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants