Skip to content

Conversation

@MonkeyMarcel
Copy link
Contributor

updates the log entries in core/filtermaps/indexer.go to remove double quotes around keys like "first block" and "last block", changing them to firstblock and lastblock. This brings them in line with the general logging style used across the codebase, where log keys are unquoted single words.

For example, the log:
INFO [...] "first block"=..., "last block"=...
Is now rendered as:
INFO [...] firstblock=..., lastblock=...
This change improves readability and maintains consistency with logs such as:
INFO [...] number=2 sealhash=... uncles=0 txs=0 ...
No functional behavior is changed — this is purely a formatting cleanup for better developer experience.

@MonkeyMarcel MonkeyMarcel requested a review from rjl493456442 as a code owner May 4, 2025 18:22
@rjl493456442 rjl493456442 added this to the 1.15.11 milestone May 5, 2025
@rjl493456442 rjl493456442 merged commit 1b18ba2 into ethereum:master May 5, 2025
1 of 2 checks passed
@rjl493456442 rjl493456442 changed the title logs(indexer)Clean up log format in head index progress messages core/filtermaps: clean up log format in progress messages May 5, 2025
rjl493456442 pushed a commit that referenced this pull request Jul 1, 2025
Sorry for not fully fixed in #31761, now the log 
format of unindexing message is cleaned up, to make it consistent with the indexing message.
jakub-freebit pushed a commit to fblch/go-ethereum that referenced this pull request Jul 3, 2025
…ereum#31761)

updates the log entries in `core/filtermaps/indexer.go` to remove double
quotes around keys like "first block" and "last block", changing them to
`firstblock` and `lastblock`. This brings them in line with the general
logging style used across the codebase, where log keys are unquoted
single words.

For example, the log:
`  INFO [...] "first block"=..., "last block"=...`

Is now rendered as:
`  INFO [...] firstblock=..., lastblock=...`

This change improves readability and maintains consistency with logs
such as:
`  INFO [...] number=2 sealhash=... uncles=0 txs=0 ...`

No functional behavior is changed — this is purely a formatting cleanup
for better developer experience.
howjmay pushed a commit to iotaledger/go-ethereum that referenced this pull request Aug 27, 2025
…ereum#31761)

updates the log entries in `core/filtermaps/indexer.go` to remove double
quotes around keys like "first block" and "last block", changing them to
`firstblock` and `lastblock`. This brings them in line with the general
logging style used across the codebase, where log keys are unquoted
single words.

For example, the log:
`  INFO [...] "first block"=..., "last block"=...`

Is now rendered as:
`  INFO [...] firstblock=..., lastblock=...`

This change improves readability and maintains consistency with logs
such as:
`  INFO [...] number=2 sealhash=... uncles=0 txs=0 ...`

No functional behavior is changed — this is purely a formatting cleanup
for better developer experience.
howjmay pushed a commit to iotaledger/go-ethereum that referenced this pull request Aug 27, 2025
…32123)

Sorry for not fully fixed in ethereum#31761, now the log 
format of unindexing message is cleaned up, to make it consistent with the indexing message.
gballet pushed a commit to gballet/go-ethereum that referenced this pull request Sep 11, 2025
…ereum#31761)

updates the log entries in `core/filtermaps/indexer.go` to remove double
quotes around keys like "first block" and "last block", changing them to
`firstblock` and `lastblock`. This brings them in line with the general
logging style used across the codebase, where log keys are unquoted
single words.

For example, the log:
`  INFO [...] "first block"=..., "last block"=...`

Is now rendered as:
`  INFO [...] firstblock=..., lastblock=...`

This change improves readability and maintains consistency with logs
such as:
`  INFO [...] number=2 sealhash=... uncles=0 txs=0 ...`

No functional behavior is changed — this is purely a formatting cleanup
for better developer experience.
gballet pushed a commit to gballet/go-ethereum that referenced this pull request Sep 11, 2025
…32123)

Sorry for not fully fixed in ethereum#31761, now the log 
format of unindexing message is cleaned up, to make it consistent with the indexing message.
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.

2 participants