Skip to content

proxyd: Parameterize full RPC request logging#3110

Merged
mergify[bot] merged 2 commits intodevelopfrom
feat/req-body-log-params
Jul 27, 2022
Merged

proxyd: Parameterize full RPC request logging#3110
mergify[bot] merged 2 commits intodevelopfrom
feat/req-body-log-params

Conversation

@mslipper
Copy link
Collaborator

@mslipper mslipper commented Jul 27, 2022

Adds two new config params:

  • enable_request_log, which enables/disables the full RPC request log
  • max_request_body_log_len, which configures the maximum number of characters that will be logged for each RPC request. Values over 2000 are ignored.

This should reduce our GCP spend.

@changeset-bot
Copy link

changeset-bot bot commented Jul 27, 2022

🦋 Changeset detected

Latest commit: d3d0db6

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

@mslipper mslipper requested review from Inphi and optimisticben July 27, 2022 16:57
@mergify
Copy link
Contributor

mergify bot commented Jul 27, 2022

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

@mslipper mslipper force-pushed the feat/req-body-log-params branch from 665a5ab to f7539b9 Compare July 27, 2022 17:00
Copy link
Contributor

@optimisticben optimisticben 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 Jul 27, 2022

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

@mergify
Copy link
Contributor

mergify bot commented Jul 27, 2022

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

@mergify mergify bot merged commit 915f3b2 into develop Jul 27, 2022
@mergify mergify bot deleted the feat/req-body-log-params branch July 27, 2022 17:12
@mergify mergify bot removed the on-merge-train label Jul 27, 2022
@mslipper mslipper mentioned this pull request Aug 4, 2022
maurelian pushed a commit that referenced this pull request Sep 15, 2022
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
sam-goldman pushed a commit that referenced this pull request Sep 15, 2022
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
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