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

some logging for gossipsub #95

Merged
merged 2 commits into from
Aug 10, 2018
Merged

some logging for gossipsub #95

merged 2 commits into from
Aug 10, 2018

Conversation

vyzo
Copy link
Collaborator

@vyzo vyzo commented Aug 9, 2018

The pubsub routers are very quiet, which can make it hard to diagnose the network state.
That's probably ok for floodsub, as the router doesn't do much, but gossipsub could be more verbose.

This pr adds some basic event logging to gossipsub router, so that we can have a clue about network state when debugging.

@ghost ghost assigned vyzo Aug 9, 2018
@ghost ghost added the in progress label Aug 9, 2018
@vyzo vyzo requested a review from whyrusleeping August 9, 2018 09:21
Copy link
Contributor

@whyrusleeping whyrusleeping left a comment

Choose a reason for hiding this comment

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

LGTM, welcome back :)

@vyzo
Copy link
Collaborator Author

vyzo commented Aug 9, 2018

i will also gx publish so that it can be used immediately.

@whyrusleeping
Copy link
Contributor

sounds good!

@vyzo vyzo merged commit b96cf6d into master Aug 10, 2018
@ghost ghost removed the in progress label Aug 10, 2018
@vyzo vyzo deleted the feat/logging branch August 10, 2018 08:32
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