Skip to content

fix: disable ANSI color seq for debug logs #1032

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cristiand391
Copy link
Member

@cristiand391 cristiand391 commented Jun 13, 2025

What does this PR do?

Disable ANSI color sequences when writing the commad-stdout log using the new env vars: forcedotcom/sfdx-core#1204

[16:52:24.322] �[90mTRACE�[39m (sf-startup): �[36mCreated 'sf-startup' child logger instance�[39m
[16:52:24.323] �[90mTRACE�[39m (sf:oclif:find-root:root-plugin): �[36mCreated 'sf:oclif:find-root:root-plugin' child logger instance�[39m
...

TODO:

  • add test instructions, I think these changes don't work yet when linking the plugin because the top-level logger being passed is still using the old sfdx-core, should be tested with local sf repo and deduping core.

What issues does this PR fix or reference?

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.

1 participant