Kermit icon indicating copy to clipboard operation
Kermit copied to clipboard

Kermit tags not showing in Logcat

Open xhuliano98 opened this issue 6 months ago • 0 comments

Issue

After upgrading Kotlin, Gradle, and Kermit in our projects, we noticed that the Kermit tags were missing in the logcat. This makes it impossible to filter in Logcat by tag.

Output

2025-06-20 08:06:51.898 <no-tag>                com.company.package            I  d221c062-e2eb-411d-8970-30f1b69a2bc5 is executed with the result: SUCCESS. Sending client event
2025-06-20 08:06:51.907 <no-tag>                com.company.package            I  Starting execution for command

Description

Suddenly, all Kermit tags appear as 'no-tag'.

Expected output

Logs show a default tag as before. Before the upgrade, all Kermit logs without a specified tag would have the tag "Kermit".

Observation

One solution is to call Logger.withTag("<a-tag>").d { ... }, but since we use it widely across projects, it might be quite some work to refactor.

Versions

Kermit: 2.0.5 Kotlin: 2.1.10 AGP: 8.9.1

xhuliano98 avatar Jun 20 '25 06:06 xhuliano98