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

fix: more detailed logs to differentiate shards with peers #2794

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

darshankabariya
Copy link
Contributor

@darshankabariya darshankabariya commented Jun 9, 2024

Adds more information to the log, allowing users to differentiate shards and their connections.

Example :-

If shards match the peer, the previous log entry would be :- "reason = no shards in common"
Now it's look like this :- "reason = no shards in common: my_shards = [ x, y, z ] others_shards = [ a, b, c ]"

where the number within brackets represents the shard number.

Copy link

github-actions bot commented Jun 9, 2024

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:2794-rln-v1

Built from 67c958b

Copy link

github-actions bot commented Jun 9, 2024

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:2794-rln-v2

Built from 67c958b

Copy link
Collaborator

@Ivansete-status Ivansete-status left a comment

Choose a reason for hiding this comment

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

Gorgeous! Thanks for it! 💯
May kindly add an example in the description, showing how it may appear please?
Cheers

Copy link
Contributor

@gabrielmer gabrielmer left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks so much 🔥 🔥

@darshankabariya darshankabariya merged commit 55a87d2 into master Jun 10, 2024
13 of 18 checks passed
@darshankabariya darshankabariya deleted the log_enhance branch June 10, 2024 08:10
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