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

added error logs and debug #377

Merged
merged 11 commits into from
Jul 24, 2023
Merged

Conversation

b-yap
Copy link
Contributor

@b-yap b-yap commented Jul 19, 2023

closes #356

added new logs, removed unnecessary ones, and downgrade/upgrade levels of existing logs

@b-yap b-yap linked an issue Jul 19, 2023 that may be closed by this pull request
@b-yap b-yap marked this pull request as ready for review July 20, 2023 08:44
@b-yap b-yap requested review from ebma and adelarja July 20, 2023 10:32
Copy link
Member

Choose a reason for hiding this comment

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

Should we change the log level of the 'sent ...' and 'rcv...' logs to debug?

clients/stellar-relay-lib/src/connection/services.rs Outdated Show resolved Hide resolved
clients/stellar-relay-lib/src/connection/services.rs Outdated Show resolved Hide resolved
clients/vault/src/execution.rs Outdated Show resolved Hide resolved
clients/vault/src/execution.rs Outdated Show resolved Hide resolved
clients/vault/src/execution.rs Outdated Show resolved Hide resolved
clients/vault/src/execution.rs Outdated Show resolved Hide resolved
clients/vault/src/execution.rs Outdated Show resolved Hide resolved
@ebma ebma self-requested a review July 20, 2023 16:48
Copy link
Member

@ebma ebma left a comment

Choose a reason for hiding this comment

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

Don't mind all these comments, I started suggesting improvements but then realized that it's easier to just add them myself immediately, less overhead for everyone. I actually tried to cancel/delete those but apparently GitHub didn't want me to haha.

Anyways, thanks for your improvements @b-yap, I just tried to make the log messages of info or higher level more human-friendly. I think it's good now

@ebma
Copy link
Member

ebma commented Jul 21, 2023

@b-yap I noticed I introduced some compilation errors 😅 Can you take care of those or should I?

@b-yap b-yap merged commit e88cfb5 into main Jul 24, 2023
@b-yap b-yap deleted the 356-improve-info-and-usage-of-log-messages branch July 24, 2023 12:04
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.

Improve info and usage of log messages
2 participants