Skip to content

core: Log / UX improvements for node operators - #660

Closed
Jason-W123 wants to merge 4 commits into
masterfrom
logs-ux-improve
Closed

core: Log / UX improvements for node operators#660
Jason-W123 wants to merge 4 commits into
masterfrom
logs-ux-improve

Conversation

@Jason-W123

@Jason-W123 Jason-W123 commented Apr 24, 2026

Copy link
Copy Markdown

Summary

Log and error message improvements for node operator UX, companion to nitro#4607.

pulled in by OffchainLabs/nitro#4607

Changes

  • core/rawdb/database.go: databaseVersion now shows "not set (new or uninitialized database)" instead of cryptic <nil>. Other nil metadata fields keep <nil> to avoid misleading diagnostic output.
  • core/rawdb/chain_iterator.go: "Unindexing transactions" first log explains it is normal maintenance; subsequent periodic logs downgraded to DEBUG to avoid log spam (12+ hour runs previously flooded INFO).
  • core/state/pruner/pruner.go: Updated comment from "around 2 hours for mainnet" to "several days for large databases (e.g. Arbitrum One)" to match observed user reports.

@pmikolajczyk41 pmikolajczyk41 changed the title Log / UX improvements for node operators core: Log / UX improvements for node operators Apr 24, 2026
pmikolajczyk41
pmikolajczyk41 previously approved these changes Apr 24, 2026
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.

4 participants