SFDX CLI Error: default level:TRACE must be included in custom levels

SFDX CLI Error: default level:TRACE must be included in custom levels
Reading Time: < 1 minute

Try this command on the fly:

export SF_LOG_LEVEL=trace

After rebooting your terminal that environment variable will be reset. to keep the changes, edit the .zprofile, in case you are using zsh, or the equivalent file in your home, and add the same line:

export SF_LOG_LEVEL=<code>trace

Remember to reboot your terminal (open and close) after modifying that file.

Check if the environment variable was written properly:

echo $SF_LOG_LEVEL

You should see “trace” or the value you provided

,

About the author

Andrés Canavesi
Andrés Canavesi

Software Engineer with 15+ experience in software development, specialized in Salesforce, Java and Node.js.


Join 22 other subscribers

Leave a Reply

Discover more from javaniceday.com

Subscribe now to keep reading and get access to the full archive.

Continue reading