docs: add release notes for GetDebugInfo include_log flag
What changed, and why it matters
This commit only updates the release notes document. It describes a new optional flag for the GetDebugInfo RPC and related lncli commands that controls whether log files are included in responses. There is no code change, no vulnerability, and no security fix in this commit itself.
No security action needed for this documentation commit. Review PR #10613 separately if assessing the security of the include_log feature implementation.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds documentation entries to docs/release-notes/release-notes-0.21.0.md for PR #10613. It documents that GetDebugInfo, lncli getdebuginfo, and lncli encryptdebugpackage now accept an include_log/–include_log flag, and that log content is no longer returned by default. This is a behavioral change notice, not a code patch.
Changed components
docs/release-notes/release-notes-0.21.0.mdInspect captured patch +18 / −0
diff --git a/docs/release-notes/release-notes-0.21.0.md b/docs/release-notes/release-notes-0.21.0.md
index 02169b9..02f284f 100644
--- a/docs/release-notes/release-notes-0.21.0.md
+++ b/docs/release-notes/release-notes-0.21.0.md
@@ -134,10 +134,28 @@
events](https://github.com/lightningnetwork/lnd/pull/10543) to be able to
subscribe to state changes.
+* The [`GetDebugInfo`](https://github.com/lightningnetwork/lnd/pull/10613) RPC
+ request now accepts an `include_log` flag. By default, only the configuration
+ map is returned. When `include_log` is set to `true`, the log file content is
+ also included in the response.
+
## lncli Updates
+* The `getdebuginfo` command now supports an `--include_log` flag. By default,
+ only the daemon's configuration is returned. When set, the log file content is
+ also included in the response.
+
+* The `encryptdebugpackage` command now supports an `--include_log` flag. When
+ set, the log file content is included in the encrypted debug package.
+
## Breaking Changes
+* The [`GetDebugInfo`](https://github.com/lightningnetwork/lnd/pull/10613) RPC
+ no longer returns log file content by default. Clients that rely on the `log`
+ field must now explicitly set `include_log` to `true` in the request. The
+ `lncli getdebuginfo` and `lncli encryptdebugpackage` commands similarly
+ require the `--include_log` flag to include logs in the output.
+
## Performance Improvements
* [Replace the catch-all `FilterInvoices` SQL query with five focused,
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.