Skip to content

fix(log): keep typed words out of the log - #825

Merged
LeanBitLab merged 1 commit into
mainfrom
fix/log-sensitive-data
Nov 15, 2026
Merged

LeanBitLab merged 1 commit into
mainfrom
fix/log-sensitive-data

Conversation

@LeanBitLab

Copy link
Copy Markdown
Owner

What

The in-app log keeps every level (including debug) in memory, it can be saved from the app and it also goes to logcat. Two places put typed text in it:

  • the word added to the personal dictionary (info log)
  • the emoji search query (debug log)

They now log only the locale and count, or the length of the query.

Notes

  • The OTP listener also logged the code, but that service is disabled (d215e07) and never runs, so it is left for the dead code cleanup.
  • Builds with assembleStandardDebug.

The log is also kept in memory and can be saved from the app, so it should not contain
typed text. The word added to the personal dictionary and the emoji search query are not
logged any more (the length is enough for the search).
@LeanBitLab
LeanBitLab merged commit bd1390f into main Nov 15, 2026
1 check passed
@LeanBitLab
LeanBitLab deleted the fix/log-sensitive-data branch November 15, 2026 09:56
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