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

rpcserver: log connections to transaction subscription stream #5358

Conversation

ErikEk
Copy link
Contributor

@ErikEk ErikEk commented Jun 5, 2021

A quick fix for #4968. An alternative solution would be to create an distinct interface for SubscribeTransactions so we could use a dedicated log (TXN:) instance.
Here, the log a message will be [INF] RPCS: New transaction subscription client.

Fixes #4968.

@guggero guggero linked an issue Jun 7, 2021 that may be closed by this pull request
@guggero guggero added logging Related to the logging / debug output functionality rpc Related to the RPC interface labels Jun 7, 2021
Copy link
Collaborator

@guggero guggero left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM 🎉

Copy link
Member

@yyforyongyu yyforyongyu left a comment

Choose a reason for hiding this comment

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

LGTM👍

@Roasbeef Roasbeef added this to the 0.13.1 milestone Jun 15, 2021
@Roasbeef Roasbeef merged commit 2706f19 into lightningnetwork:master Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
logging Related to the logging / debug output functionality rpc Related to the RPC interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Log connections to transaction subscription stream
4 participants