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

trampoline: log payment success/failure #537

Open
JssDWt opened this issue Nov 1, 2024 · 0 comments
Open

trampoline: log payment success/failure #537

JssDWt opened this issue Nov 1, 2024 · 0 comments
Assignees

Comments

@JssDWt
Copy link
Collaborator

JssDWt commented Nov 1, 2024

A snippet from a failing trampoline payment:

2024-10-31T20:02:52+04:00 {} stdout: DEBUG   plugin-gl-plugin-internal: New trampoline payment via xxx: lnbcxxx
2024-10-31T20:02:52+04:00 {} stdout: DEBUG   plugin-gl-plugin-internal: Await peer connection to xxx
2024-10-31T20:02:52+04:00 {} stdout: DEBUG   plugin-gl-plugin-internal: Checking if peer xxx is connected
2024-10-31T20:02:52+04:00 {} stdout: DEBUG   plugin-gl-plugin-internal: Received event Ok(RpcCall(\"/greenlight.Node/TrampolinePay\")) from gl_plugin
2024-10-31T20:02:52+04:00 {} stdout: DEBUG   plugin-gl-plugin-internal: overpay=12345, total_amt=12345
2024-10-31T20:02:52+04:00 {} stdout: DEBUG   plugin-gl-plugin-internal: Received event Ok(RpcCall(\"/cln.Node/Datastore\")) from gl_plugin
2024-10-31T20:02:52+04:00 {} stdout: DEBUG   plugin-gl-plugin-internal: Received event Ok(RpcCall(\"/cln.Node/Pay\")) from gl_plugin
2024-10-31T20:02:52+04:00 {} stdout: DEBUG   plugin-gl-plugin-internal: Awaiting gossip sync to complete for up to 29
2024-10-31T20:02:52+04:00 {} stdout: INFO    plugin-gl-plugin-internal: Blocksync is not required, skipping.
2024-10-31T20:02:52+04:00 {} stdout: INFO    plugin-gl-plugin-internal: Starting 1 tasks to wait for channels to be ready
2024-10-31T20:02:52+04:00 {} stdout: DEBUG   plugin-gl-plugin-internal: Checking if peer xxx is connected
2024-10-31T20:02:52+04:00 {} stdout: DEBUG   plugin-gl-plugin-internal: Received event Ok(RpcCall(\"/cln.Node/Getinfo\")) from gl_plugin
2024-10-31T20:02:52+04:00 {} stdout: DEBUG   plugin-gl-plugin-internal: Checking if channel 1x1x1 is ready
2024-10-31T20:02:52+04:00 {} stdout: DEBUG   plugin-gl-plugin-internal: Channel 1x1x1 is established

The reason for failure is not logged. It would be very useful to log this to debug issues using the greenlight session logs. Also paymet success would be useful to log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants