cake-build / cake

:cake: Cake (C# Make) is a cross platform build automation system.
https://cakebuild.net
MIT License
3.9k stars 724 forks source link

Debug/Diagnostic color is far too dark #3245

Open gitfool opened 3 years ago

gitfool commented 3 years ago

While investigating issues with https://github.com/cake-build/cake/pull/3240, I temporarily enabled Debug/Diagnostic logging for the integration tests, during which the log rendering is far too dark and becomes unreadable in some environments.

GitHub Actions run 2052071902: image

Azure Pipelines build 17082: image

Here's another screenshot of a normal GitHub Actions run showing the color spectrum for different LogLevel/Verbosity: image

And the same for a normal Azure Pipelines build: image

Finally, I've seen similar problems when building local in WSL.

augustoproiete commented 3 years ago

Agreed. I think we need custom console color palettes for different CI systems.

TeamCity has the opposite problem (not dark enough) having a white background, so parts of the log is not easily readable.

image

(selected text) image

gitfool commented 3 years ago

One more for good measure... reading the log output with Visual Studio Code, in dark mode, with the ANSI Colors extension:

image