Disable colors in log output #2905
dchase-sir
started this conversation in
Feature suggestions
Replies: 2 comments 2 replies
-
I don't really know what I'm talking about but does this help? https://stackoverflow.com/a/52862428 |
Beta Was this translation helpful? Give feedback.
1 reply
-
It is not possible to disable these entirely right now. It would be nice though. Moved to Feature Suggestions. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I prevent color codes from being used in logging?
Up until now, I used "docker logs postal-web-1" for example to view logs, so it didn't really bug me. However, I wanted to be able to use the logs outside of the container - I chose to implement the syslog driver in docker, and output to /var/log/postal-web.log, (also through rsyslog.d) but the color codes are coming through. Even if I use something like lnav to view it, I still see the color codes, so they are being partially interpretted. Is there some way to have it log without the color codes?
Beta Was this translation helpful? Give feedback.
All reactions