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

Get rid of various unnecessary warnings in logs #2981

Merged
merged 4 commits into from
Jan 16, 2025

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Jan 15, 2025

We get a ton of warnings in our logs that can be avoided by correctly handling some events in states where we should simply ignore them, for example when a channel is offline. This should help us reduce the size of our logs files.

We use an explicit event in the `Peer` when watching for child channel
actors being terminated. This should get rid of the warnings in the logs
about the `Terminated` event not being handled, or at least provide us
more hints of which actors aren't properly being tracked.
We weren't watching for the right event, which creates a lot of log
lines saying that the `Disconnecting` event is unhandled.
If we receive an outdated closing message, we ignore it without creating
a warning in the logs.
We ignore HTLC settlement commands while we're disconnected, they will
be retried once the channel has been reestablished. We also ignore
commands asking us to sign the latest state or update fees.
@t-bast t-bast merged commit 1c38591 into master Jan 16, 2025
1 check passed
@t-bast t-bast deleted the remove-useless-warn-logs branch January 16, 2025 07:32
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