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

Add logs to onion message relay #2880

Merged
merged 3 commits into from
Jul 15, 2024
Merged

Add logs to onion message relay #2880

merged 3 commits into from
Jul 15, 2024

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Jul 12, 2024

There weren't any logs when relaying onion messages, which makes it impossible to troubleshoot. While we're working on cross-compatibility, we keep those logs at the INFO level, and will change some of them to DEBUG once stabilized.

There weren't any logs when relaying onion messages, which makes it
impossible to troubleshoot. While we're working on cross-compatibility,
we keep those logs at the `INFO` level, and will change some of them to
`DEBUG` once stabilized.
thomash-acinq
thomash-acinq previously approved these changes Jul 12, 2024
Log messages that are outside of a message handler are not decorated
with MDC fields. We move all logging calls to message handlers to
ensure that they have the MDC fields.
@t-bast t-bast merged commit f8d6acb into master Jul 15, 2024
1 check passed
@t-bast t-bast deleted the onion-message-logs branch July 15, 2024 07:50
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