Skip to content

Log coloring lost in recent image due to single-character detected_level values #578

@shin19991207

Description

@shin19991207

Hi team,

I’ve noticed that recent versions of the image are emitting log entries where the detected_level field contains only a single character (I, W, E, etc.) instead of the full word (info, warn, etc.). As a result, Grafana’s Explore UI no longer applies color coding to log levels—everything shows as grey.

Older version (log coloring works as expected):
Image

Newer version (logs are grey, detected_level is a single letter):
Image

I verified this using the same application and OpenTelemetry source, but with different versions of the docker-otel-lgtm image.

  • Older versions of the image output full text values for detected_level, and Grafana colored the logs as expected.
  • With the latest image, only a single character is emitted, and log coloring is lost.

Is this change intentional, or a regression? Will full-word detected_level support (for colored logs) return in a future release? Or is there a recommended workaround for log coloring in Grafana?

Color-coded logs are much more useful for observability.

Thanks in advanced!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions