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

[Backport] Tweak logs around network #3784

Merged
merged 4 commits into from
Feb 12, 2024

Conversation

lukasz-zimnoch
Copy link
Member

This pull request backports #3777 to the releases/mainnet/v2.0.0-m7 branch.

The libp2p pubsub implementation produces a huge amount of duplicated
`info` logs if one of the participants goes offline during messaging.
This increases costs of logs storage and makes debugging harder.

To overcome that problem, we are setting pubsub logs to the `warn` level
by default and provide a way to customize this setting through the
`PUBSUB_LOG_LEVEL` env variable. We will also add some app-level
logging that will help detecting offline members.

(cherry picked from commit b725e1c)
This information is often relevant during DKG debugging. It is good
to have it visible out of the box

(cherry picked from commit 980c85e)
This test aims to diagnose potential problems with nodes that can
initiate connections on their own but cannot be reached from the
public internet.

(cherry picked from commit b3d97ff)
@lukasz-zimnoch lukasz-zimnoch self-assigned this Feb 12, 2024
@lukasz-zimnoch lukasz-zimnoch added this to the v2.0.0-m7 milestone Feb 12, 2024
@lukasz-zimnoch lukasz-zimnoch marked this pull request as ready for review February 12, 2024 09:54
@lukasz-zimnoch lukasz-zimnoch merged commit fc6ee92 into releases/mainnet/v2.0.0-m7 Feb 12, 2024
27 of 28 checks passed
@lukasz-zimnoch lukasz-zimnoch deleted the backport-tweak-logs branch February 12, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants