fix(core): redact transcription text from INFO logs#45
Merged
Conversation
Move raw ASR text to DEBUG level to prevent user dictation content from appearing in default log output. Log only text length at INFO for diagnostics.
missuo
approved these changes
Apr 6, 2026
missuo
left a comment
Owner
There was a problem hiding this comment.
LGTM. Simple and correct privacy improvement — moving raw transcription text from INFO to DEBUG level. The text length at INFO is sufficient for diagnostics.
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.
Summary
log::info!atlib.rs:761was printing the full raw ASR text at the default INFO level. For a voice input tool this exposes everything the user dictates to the terminal, Xcode console, or any environment collecting stderr.DEBUGlevelINFOlog that records only the text length and session ID for diagnosticsTest plan
cargo test --workspacepassescargo clippy --workspace --all-targetscleanRUST_LOG=debug— full text visible at debug level