flutter / flutter/devtools

Logging does not display structured log details if a message exceeds certain amount of symbols

Open
#9,596 0 comments 0 reactions 0 assignees View on GitHub
P2 screen: logging
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

I log results from my service calls using `dart:developer.log`. From my assumption, `DevTools` fails to display structured log details whenever message of a log exceeds certain amount of symbols.

Smaller logs are displayed as expected, with details presented:

Image

However, if I try to log JWT token (1391 symbols) , the `Details` section will display just the message string

Image

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in DevTools with dart:developer.log using a structured message longer than the reported 1,391 symbols, then compare it with a shorter log. Trace the logging and Details display path to find where the longer message loses its structured data. Done means structured log details remain visible for messages beyond the reported length.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
devtools, observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.