Skip to content

Logs written to file contain distracting characters like [90m #4966

Open
@rootulp

Description

@rootulp

Problem

When a user pipes celestia-appd logs to a file with

celestia-appd start --log-to-file foo.log

the logs contain weird characters like [90m. Can we please fix this, it makes reading logs a pain.

�[90m5:25PM�[0m �[32mINF�[0m �[1mTimed out�[0m �[36mdur=�[0m4055.994421 �[36mheight=�[0m6562871 �[36mmodule=�[0mconsensus �[36mround=�[0m0 �[36mstep=�[0mRoundStepNewHeight
�[90m5:25PM�[0m �[32mINF�[0m �[1mreceived proposal�[0m �[36mmodule=�[0mconsensus �[36mproposal=�[0m"Proposal{6562871/0 (3774B165505E67DD8B925931FC87482952E15F730E72725BBE9495F39F0E4A67:1:CE53D8DAB026, -1) AFA633B0D426 @ 2025-06-09T17:25:02.119699368Z}" �[36mproposer=�[0m59158C19ED4DF57D59B54F80B07C0AFB37DAFF0D
�[90m5:25PM�[0m �[32mINF�[0m �[1mreceived complete proposal block�[0m 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions