Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable colorized output by default #11

Merged
merged 1 commit into from
Jul 19, 2023
Merged

disable colorized output by default #11

merged 1 commit into from
Jul 19, 2023

Conversation

rkusa
Copy link
Collaborator

@rkusa rkusa commented Jul 19, 2023

Apparently, when copying logs out of most Windows terminals, the escaped sequences for colouring the output is included making the logs very hard to read. Example:

�[2m2023-07-18T13:04:28.406016Z�[0m �[32m INFO�[0m �[2mlso::commands::run�[0m�[2m:�[0m Connecting to gRPC server �[3muri�[0m�[2m=�[0mhttp://127.0.0.1:5005/

Because of this, I am going to disable the colours by default. They can still be enabled via the --color flag.

@rkusa rkusa merged commit c00ee86 into main Jul 19, 2023
1 check passed
@rkusa rkusa deleted the no-color branch July 19, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant