Repository navigation
feat(logs): share every matching log entry as a file - #1334
Merged
Merged
Conversation
Sharing from the logs page only included the rows the list had paged in, 50 at a time, so exporting a large log meant scrolling through all of it first. The share action now reads every entry matching the current level, category, and search filter from the log store and writes them to a text file, oldest first. The file is produced when the share is carried out and written in chunks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Sharing from Settings → Logs only included the rows the list had already paged in, 50 at a time. With tens of thousands of entries, getting a useful export meant scrolling through the whole list first. This came up in #1330, where the attached log stopped minutes before the error we needed to see.
What changes
The Share action on the logs page now exports every entry that matches the current level, category, and search filter, read directly from the log store rather than from the loaded rows.
KMReader-logs-<timestamp>.txt) instead of an inline string.No new UI strings.
Validation
make build-macos,make build-ios,make build-tvospass.Includes build 686.
Related to #1330.
🤖 Generated with Claude Code