The log carries terminal colour codes when nobody is at a terminal #88
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
tracing-subscriber's fmt layer writes ANSI colour escapes by default, and ipx does not turn them off when stderr is not a terminal, so docker logs and Loki (via Alloy) get lines like '\x1b[2m2026-09-29T12:42:47Z\x1b[0m \x1b[32m INFO\x1b[0m ...'. Every grep and LogQL query has to strip them first. Found building a Grafana dashboard on iPX's Loki logs.
Fixed in
9e7c93e: colour only when stderr is a terminal. Deployed.