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

Print type of message sent in the verbose log #3348

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

yacovm
Copy link
Contributor

@yacovm yacovm commented Aug 29, 2024

This commit adds the string representation of the message type to the verbose log that notifies about sending a message. Can be useful for troubleshooting issues and it gives better understanding about what the node is doing.

Why this should be merged

Currently it's not possible to understand what type of messages a node is sending from observing the log, even at verbose level, because the log event doesn't contain the type of message.

How this works

Just added the type of message to the log.

How this was tested

No need to test, this is a trivial logging change.

This commit adds the string representation of the message type to the verbose log that notifies about sending a message.
Can be useful for troubleshooting issues and it gives better understanding about what the node is doing.

Signed-off-by: Yacov Manevich <[email protected]>
Co-authored-by: Stephen Buttolph <[email protected]>
Signed-off-by: yacovm <[email protected]>
@StephenButtolph StephenButtolph added this pull request to the merge queue Aug 29, 2024
Merged via the queue into ava-labs:master with commit e8c257f Aug 29, 2024
21 checks passed
@yacovm yacovm self-assigned this Sep 6, 2024
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.

4 participants