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

Add a Log for Newly Connected gRPC Clients in the Beacon Node #6233

Merged
merged 2 commits into from
Jun 12, 2020

Conversation

rauljordan
Copy link
Contributor

What type of PR is this?

Feature

What does this PR do? Why is it needed?

This PR adds the ability to log new grpc client connections to beacon nodes:

[2020-06-12 15:04:18]  INFO rpc: New gRPC client connected to beacon node addr=127.0.0.1:59704

Helping give feedback to users that their validator client is properly connected. This feature can be disabled with --disable-grpc-connection-logs

Which issues(s) does this PR fix?

Fixes #5647, which brought up that we log p2p peer connections and disconnections but do not do the same for gRPC client connections (i.e. validator clients).

@rauljordan rauljordan requested a review from a team as a code owner June 12, 2020 20:14
@rauljordan rauljordan self-assigned this Jun 12, 2020
@rauljordan rauljordan added the Ready For Review A pull request ready for code review label Jun 12, 2020
@prylabs-bulldozer prylabs-bulldozer bot merged commit 298955c into master Jun 12, 2020
lee51525125 pushed a commit to lee51525125/prysm that referenced this pull request Jun 15, 2020
…ticlabs#6233)

* interceptor disable logging via feature flag
* Merge branch 'master' into validator-connection-logs
@farazdagi farazdagi deleted the validator-connection-logs branch August 10, 2020 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[UX] No connection log when a validator connect to a beacon-chain node
2 participants