Oryx
Oryx copied to clipboard
Disable ASCII color codes for ASP.NET apps
At what date and time did you most recently experience the problem?
Any time a customer deploys a .NET app to App Service for Linux using the ORYX images, the default log behavior emits ASCII color codes that are injected into the logs. This makes the logs quite difficult to read. This screenshot shows that the log output looks like when customers deploy an out-of-the-box ASP.NET Core app to App Service using an ORYX image:

Once a customer sets the ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS environment variable to true in their App Service Configuration blade:

The log output is much friendlier:

Ideally, ORYX team could set the ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS to true in the base image for .NET apps.
Hi Brady, thank you for the feedback. We have a work item for this, we'll provide updates as soon as we have them.
This issue seems resolved. Will be closing this issue. If this is still relevant and impacting you please open a new issue and link back to this issue for reference. Thanks @bradygaster for the fix.