I feed all the my Docker logs into an observability pipeline.
Unfortunately the ANSI color escape sequences mess with the parsing.
For example,
│2025-07-13T08:21:39.587007Z INFO sqlx::postgres::notice: relation "_sqlx_migrations" already exists, skipping │
comes out looking like:
[2m2025-07-13T08:21:39.587007Ze[0m e[32m INFOe[0m e[2msqlx::postgres::noticee[0me[2m:e[0m relation "_sqlx_migrations" already exists, skipping
making it difficult to parse.
Looking at Docker | Atuin Docs, I saw the envvar RUST_LOG mentioned and that gave me hope that RUST_LOG_STYLE: "never" would work out of the box, but that didn’t work.
Confusingly, I saw PR #642 talking about ATUIN_LOG replacing RUST_LOG? (Sorry I’m only allowed to include 2 links in this post)
Is there a way to disable colors for log output?
ellie
2
We try to follow https://no-color.org/
So if you set NO_COLOR=true, it should do what you want!
We switched to ATUIN_LOG because people working on Rust projects + using Atuin found that they conflicted + got output they didn’t want
2 Likes
So are you saying that the RUST_LOG mentioned here needs to be updated in the docs?
ellie
4
No, it works as expected for the server. ATUIN_LOG is for the client
1 Like