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

Improve Logs #203

Merged
merged 5 commits into from
Jul 12, 2023
Merged

Improve Logs #203

merged 5 commits into from
Jul 12, 2023

Conversation

nepet
Copy link
Contributor

@nepet nepet commented Jul 11, 2023

A collection of changes how we log. This includes:

  • Don't log redundant custom messages, we just log that we received the same message again
  • Don't log "message already exists" this is redundant information to the above
  • Remove blank lines when sending redundant messages.
  • Add information to the "tx does not have enough confirmations"

Please let me know if there are more blank lines or other improvements that would help you scan the logs.

Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>
We use this log to keep track of which incoming message types have
already been logged.

Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>
We don't need to log on a "message already exists error" as we
already log if we receive a message that we already know.

Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>
Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>
Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>
@nepet nepet requested a review from wtogami July 11, 2023 15:07
Copy link
Contributor

@wtogami wtogami left a comment

Choose a reason for hiding this comment

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

tested ACK

@wtogami wtogami merged commit 8075b00 into ElementsProject:master Jul 12, 2023
6 checks passed
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