Skip to content

Conversation

@MartinquaXD
Copy link
Contributor

Description

Our services are extremely chatty which is annoying for debugging and overwhelms our logging infra. This PR removes or strips down logs that should not be needed.

Changes

  • removes huge structs like calldata, access lists, and duplicated transactions - calldata is still preserved where it matters most (when resimulating quotes, or in revert errors)
  • removes tempo items that needlessly get printed in every log of the respective trace (where it seemed useful I added 1 log that contained the data)
  • removes logs when solutions could not be merged (this is an optimistic optimization and solutions are not expected to always be mergeable)
  • downgraded some logs from debug to trace (the ones I think I never used for any debugging but on the surface level seemed like they might be useful eventually)
  • 404 errors from /notify requests

@MartinquaXD MartinquaXD requested a review from a team as a code owner January 23, 2026 18:01
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

The pull request effectively removes and strips down chatty logs, as described in the PR description. This includes removing huge structs from debug logs, removing logs for unmergeable solutions, and downgrading some log levels. No critical or high-severity issues were found in the changes that would impact correctness, efficiency, maintainability, or security. The changes align with the goal of reducing log noise.

})
}

#[instrument(skip_all, fields(auction_id = auction.id, auction_block = auction.block, auction_orders = auction.orders.len()))]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change might need some more consideration. IIUC without auction_id in the tempo instrumentation all logs will belong to the same trace.
So perhaps a better option would be to simply adjust the tracing formatter to not print those? cc @fafk

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