Skip to content

Comments

proxyd: Reduce RPC request logging#2502

Merged
mergify[bot] merged 1 commit intodevelopfrom
inphi/verbose-causality
Apr 28, 2022
Merged

proxyd: Reduce RPC request logging#2502
mergify[bot] merged 1 commit intodevelopfrom
inphi/verbose-causality

Conversation

@Inphi
Copy link
Contributor

@Inphi Inphi commented Apr 28, 2022

Logging the entire RPC request can be too "expensive" when logging request
objects in a large JSON-RPC batch request. We log the raw HTTP request
body instead so we can truncate effectively when the entire body
exceeds the maxLogLength.

@changeset-bot
Copy link

changeset-bot bot commented Apr 28, 2022

🦋 Changeset detected

Latest commit: 70fd180

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@eth-optimism/proxyd Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mergify mergify bot requested review from cfromknecht and tuxcanfly April 28, 2022 17:23
@mergify
Copy link
Contributor

mergify bot commented Apr 28, 2022

This PR changes implementation code, but doesn't include a changeset. Did you forget to add one?

Logging the entire RPC request can be too "expensive" when logging request
objects in a large JSON-RPC batch request. We log the raw HTTP request
body instead so we can truncate effectively when the entire body
exceeds the maxLogLength.
@Inphi Inphi force-pushed the inphi/verbose-causality branch from 26bff21 to 70fd180 Compare April 28, 2022 17:23
Copy link
Contributor

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

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

LGTM

@mergify
Copy link
Contributor

mergify bot commented Apr 28, 2022

This PR has been added to the merge queue, and will be merged soon.

@mergify mergify bot merged commit d9f058c into develop Apr 28, 2022
@mergify mergify bot deleted the inphi/verbose-causality branch April 28, 2022 17:54
@mergify
Copy link
Contributor

mergify bot commented Apr 28, 2022

This PR is next in line to be merged, and will be merged as soon as checks pass.

@mslipper mslipper mentioned this pull request Apr 28, 2022
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.

3 participants