From f99eec6100ea8153aa5946be7d154703a106bc4c Mon Sep 17 00:00:00 2001 From: Sebastien Date: Thu, 9 Jan 2025 11:07:50 +0100 Subject: [PATCH] fix: add `--loglevel` breaking change explanation (#978) --- docs/migrating-to-v6.0.0.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/migrating-to-v6.0.0.md b/docs/migrating-to-v6.0.0.md index 046b0e81..8fdb8c82 100644 --- a/docs/migrating-to-v6.0.0.md +++ b/docs/migrating-to-v6.0.0.md @@ -13,6 +13,7 @@ Version `v6.0.0` brings the plugin into the **sf plugin v2 architecture**, which - [Plugin output format changes](#default-output) - [Streamlined JSON output](#json-output) - [Switch to ES modules (no more CommonJS)](#export-module) +- [Setting LogLevel](#setting-log-level) ## Installation Details @@ -164,4 +165,10 @@ Here’s is how to import the plugin: ```js import sgd from 'sfdx-git-delta' -``` \ No newline at end of file +``` + +### Setting LogLevel + +Previously with `sfdx/cli` LogLevel was set using the `--loglevel` parameter. It is deprecated, you cannot set the loglevel this way anymore. +Now with the `salesforce/cli` LogLevel is set with the [SF_LOG_LEVEL environment variable](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/ +sfdx_dev_cli_log_messages.htm) \ No newline at end of file