Skip to content

refactor: use kermit-io for file logging (WPB-26806) - #5231

Open
yamilmedina wants to merge 1 commit into
developfrom
refactor/file-logging-aproach
Open

refactor: use kermit-io for file logging (WPB-26806) #5231
yamilmedina wants to merge 1 commit into
developfrom
refactor/file-logging-aproach

Conversation

@yamilmedina

@yamilmedina yamilmedina commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

https://wearezeta.atlassian.net/browse/WPB-26806


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

Some devices produces zero bytes logs due to vendor oem restrictions.

Causes (Optional)

The current implementation of our file logger relies on spinning off a process that runs logcat and attaches this output to a file log.

Solutions

While in the past we dealt with this issue, since it was blocking the app startup, now this enables logs on them as well by using kermit-io and it's RollingFileWritter made for this purpose.

Dependencies (Optional)

We need to stick to version 2.0.5 given a datetime constraint coming from kalium, which creates conflict resolution if upgrade to latest 2.1.0


PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@yamilmedina
yamilmedina requested a review from a team as a code owner August 28, 2026 11:02
@yamilmedina
yamilmedina requested review from ohassine and valerio-bettini and removed request for a team August 28, 2026 11:02
@yamilmedina yamilmedina changed the title refactor: use kermitio for file logging (WPB-26806) refactor: use kermit-io for file logging (WPB-26806) Aug 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

2 626 tests  +5   2 626 ✅ +5   1m 20s ⏱️ -1s
  334 suites +1       0 💤 ±0 
  334 files   +1       0 ❌ ±0 

Results for commit 993be99. ± Comparison against base commit 007c1bb.

@github-actions

Copy link
Copy Markdown
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@yamilmedina
yamilmedina requested review from saleniuk and removed request for valerio-bettini August 28, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant