jesseduffield / lazydocker

The lazier way to manage everything docker
MIT License
37.36k stars 1.19k forks source link

Container log colors #525

Open janekx21 opened 6 months ago

janekx21 commented 6 months ago

I have ANSI color coded logs in a container and the colors are not showing up. Instead i see the escape codes.

A fix should show the colors, not the escape codes.

Alternatively the escape codes could be hidden, and the text remain its default color.

image

hovissimo commented 5 months ago

This problem is something other than "just read the codes" I think. I have two different containers that output colorized logs, one shows colors in lzd and the other shows mangled escape codes. /shrug

Actually, the one that shows mangled codes also shows those mangled codes with plain old docker compose logs [containername].

@janekx21 Maybe lzd is doing the right thing here and your issue is somewhere else?