JakeWharton / JakeWharton/timber

Max log length applying incorrectly

Open
#407 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
10.8k
Forks
994
Avg merge
17h 16m
Merged PRs (30d)
17

Description

I've tried to log a very long string containing JSON output.
Timber splitted it into lines of 4000 symbols,
but what I see in logcat that lines don't printed fully, they're truncated

Probably max length limit must be less

I'm meaning `DebugTree()` logger
Tested on Android 8.1

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the DebugTree entry point and trace how long messages are split before reaching Android logcat. Reproduce the issue with a long JSON string on Android 8.1, then verify that the configured chunks are not truncated and the complete output is visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev, observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.