Skip to content

Conversation

MegaRedHand
Copy link
Collaborator

Motivation

When we changed block building to be done asynchronously and multiple times per slot, we kept metrics logs, which ended up being too spammy.

Description

This PR reduces the logs to debug level.

Closes #4719

@MegaRedHand MegaRedHand requested a review from a team as a code owner October 2, 2025 19:17
@Copilot Copilot AI review requested due to automatic review settings October 2, 2025 19:17
@github-actions github-actions bot added the L1 Ethereum client label Oct 2, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR reduces logging verbosity for block building operations by changing frequently occurring log messages from info to debug level. The motivation is to address log spam that occurred after implementing asynchronous block building that runs multiple times per slot.

  • Changed metric logging from info to debug level in payload building operations
  • Reduced error logging verbosity for transaction execution failures
  • Added TODO comments to indicate these metrics should be exposed as proper metrics

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
crates/l2/sequencer/block_producer/payload_builder.rs Added TODO comments for future metric implementation
crates/blockchain/payload.rs Changed tracing::info! to tracing::debug! for payload building metrics and transaction error logging

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-project-automation github-project-automation bot moved this to In Review in ethrex_l1 Oct 6, 2025
@MegaRedHand MegaRedHand added this pull request to the merge queue Oct 6, 2025
Merged via the queue into main with commit e72a9fd Oct 6, 2025
50 checks passed
@MegaRedHand MegaRedHand deleted the block-building/reduce-log-spam branch October 6, 2025 20:27
@github-project-automation github-project-automation bot moved this from In Review to Done in ethrex_l1 Oct 6, 2025
Peponks9 pushed a commit to Peponks9/ethrex that referenced this pull request Oct 7, 2025
**Motivation**

When we changed block building to be done asynchronously and multiple
times per slot, we kept metrics logs, which ended up being too spammy.

**Description**

This PR reduces the logs to `debug` level.

Closes lambdaclass#4719
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L1 Ethereum client
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Reduce verbosity of logs during block production
3 participants