Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpcdaemon: add config flag to toggle response dump in interface log #1959

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

canepat
Copy link
Member

@canepat canepat commented Apr 9, 2024

This PR introduces a configuration flag in RPC interface log to enable/disable the dump of any response (disabled by default).

Dumping the whole response can be useful for debugging some specific request/response pair, but makes the interface log content grow very fast, so it should be enabled carefully.

Command-line options to enable/disable the feature in each ETH/Engine endpoint are also added.

cmd: add optional command-line option to dump response in interface log
@canepat canepat added the maintenance Some maintenance work (fix, refactor, rename, test...) label Apr 9, 2024
@canepat canepat requested review from Sixtysixter and lupin012 April 9, 2024 18:16
@canepat canepat merged commit bbc3c91 into master Apr 10, 2024
4 checks passed
@canepat canepat deleted the rpcdaemon_if_log_dump_response_flag branch April 10, 2024 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Some maintenance work (fix, refactor, rename, test...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants