Skip to content

Share app diagnostics#796

Merged
dpad85 merged 3 commits intomasterfrom
diagnostics
Feb 23, 2026
Merged

Share app diagnostics#796
dpad85 merged 3 commits intomasterfrom
diagnostics

Conversation

@dpad85
Copy link
Member

@dpad85 dpad85 commented Feb 20, 2026

This PR adds a button in the Logs screen that generates a diagnostics file for the app to help with debugging. The file contains the currently active wallet id, various parameters, the state of the channels and of the swap-in/final wallets. This file is much more concise and easier to handle than a log export, which may not contain the useful data.

The diagnostic is made of various data about the node:
- id and legacy id
- commit, version, including OS
- state of channels
- state of the swap-in wallet
- state of the final wallet
- recent payments
- state of connection/electrum

Logs may not contain all the needed data (as they are trimmed regularly) and
also are more difficult to parse.
Also add missing preferences to the diagnostics on iOS.

Recent payments have been removed from the diagnostics export.
Also make log export use the cache dir
@dpad85 dpad85 merged commit 06e097a into master Feb 23, 2026
@dpad85 dpad85 deleted the diagnostics branch February 23, 2026 15:29
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.

1 participant