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

fix: update loglevel warn msg to mention env var #156

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

cristiand391
Copy link
Member

@cristiand391 cristiand391 commented Dec 7, 2022

What does this PR do?

Updates --loglevel warn msg to mention SFDX_LOG_LEVEL env var as an alternative to set the log level for all loggers.
sfdx-core: https://github.com/forcedotcom/sfdx-core/blob/02e51c10d113f80385c82996595b4e77a9710d6b/src/logger.ts#L518

env var docs: https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_dev_cli_env_variables.htm

logging section - plugin dev guide:
https://github.com/salesforcecli/cli/wiki/Code-Your-Plug-In#logging-levels

What issues does this PR fix or reference?

[skip-validate-pr]

@cristiand391 cristiand391 requested a review from mshanemc December 7, 2022 13:07
@mshanemc mshanemc merged commit 758c813 into main Dec 7, 2022
@mshanemc mshanemc deleted the cd/loglevel-env-var branch December 7, 2022 17:44
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.

2 participants