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

Log when a round is advanced. #1004

Merged
merged 1 commit into from
Aug 18, 2023
Merged

Log when a round is advanced. #1004

merged 1 commit into from
Aug 18, 2023

Conversation

td202
Copy link
Contributor

@td202 td202 commented Aug 18, 2023

Purpose

Closes #975

This produces log messages each time the round is advanced, either by a QC or a TC. For example:

2023-08-18T14:52:41.622048500+02:00 DEBUG: Konsensus: Advancing round: round 34 timed out.
2023-08-18T14:52:41.828110800+02:00 DEBUG: Konsensus: Advancing round: round 35 certified block 2d8eede2e8fc749d6da21f3e9e875fdc4b6339668dfb48f47d7a497d24976be5

Changes

  • Add debug-level logging to advanceRoundWithTimeout.
  • Add debug-level logging to advanceRoundWithQuorum.

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

@td202 td202 merged commit bb0d1bf into main Aug 18, 2023
3 checks passed
@td202 td202 deleted the log-round branch August 18, 2023 14:44
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.

Write timeout increase and decrease events to a log on DEBUG level
3 participants