Skip to content

solver: log the stage3 inputs line only when a stage-3 check fails - #168

Merged
EnzinoBB merged 2 commits into
masterfrom
diag/stage3-quiet
Nov 4, 2026
Merged

EnzinoBB merged 2 commits into
masterfrom
diag/stage3-quiet

Conversation

@EnzinoBB

@EnzinoBB EnzinoBB commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #167, to keep a healthy node's log quiet.

  • stage3 inputs was logged at info level for every stage 3, which is about one line a second on a trusted node. It is now kept for the round (stage3InputsLine_, diagnostics only, cleared in nextRound) and logged at info level once per iteration, right before the first stage3 check failed line. Both sides of a split therefore still print it for the same round, which is what the comparison needs.
  • At debug level it is still logged for every stage 3.
  • The other solver: info-level stage-3 diagnostics (logging only) #167 lines already appear only when something goes wrong: a failed check, the split, a gray-listing round package, not enough active confidants, or block signatures insufficient.
  • docs/consensus-diagnostics.md now says so.

Logging only: nothing signed, sent, stored or compared changes.

🤖 Generated with Claude Code

EnzinoBB and others added 2 commits November 4, 2026 11:26
The "stage3 inputs" line of #167 was written at info level for every stage 3,
about one line a second on a trusted node. It is now kept for the round and
written at info level once per iteration, just before the first "stage3 check
failed" line, so both sides of a split still print it for the same round; at
debug level it is still written every round. The other diagnostics of #167
already appear only when something goes wrong. Logging only: nothing signed,
sent, stored or compared changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@EnzinoBB
EnzinoBB merged commit ba97309 into master Nov 4, 2026
4 checks passed
EnzinoBB added a commit that referenced this pull request Nov 4, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant