Disable color in logs for deployed apps
See original GitHub issueDescribe the bug
We pass an env-var to dotnet applications when doing tye run
to disable colorization via ANSI escape codes for the console logger.
We don’t do this today for deployed applications.
To Reproduce
Deploy something, and look at the log output.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Disable colored console output - logging
To disable color in the default logger's messages, set the NO_COLOR environment variable. So below is the output in my local when running ......
Read more >Disable Color from the log that flaak produce : r/flask
How can i disable the color that flask print when logging a request. I get in my log files [31m characters everywhere.
Read more >[#LOG4J2-1685] Single property to disable all color output
I am deploying an app to a Windows server. The app will write logs to standard output which will then be captured by...
Read more >View Your Logs In Colour
When it's not, they disable colour output. Bunyan & Pino follow this approach. Colour file capture with Bunyan requires the --color argument.
Read more >NO_COLOR: disabling ANSI color output by default
Software Description Date / Version Supported
alogview Android logcat Filter 2018‑10‑31
Ammonite Scala Scripting 2017‑07‑03 / 1.0.0
Ansible IT automation system 2021‑04‑26 / 2.11.0
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No process whenever you get to it. It’s mostly a reminder if you don’t get to it for us to consider fixing it as well. However, we’ll give you ample opportunity to try fixing it first 😄
Np, I ran through the deployment examples the other day and they got me where I need to go for this. Thanks!