Skip to content

How to Collect Performance Information for Support

Nathan Totten edited this page Feb 13, 2019 · 7 revisions

This article will explain the best way to collect and provide information to Salesforce in order to troubleshoot various performance issues related to deploying or retrieving metadata to/from an org.

Capture Logs

Any time VS Code runs an sfdx command the output will be written to the output window. If you do not see the output window, open it throught the View menu by selecting Output.

All commands written to the output window will have timestamps for each entry.

When you run a command simply select all of the text of the output window from the start of that command to the end - be sure to include all timestamps.

You can create a log.txt file and paste the contents to send to us.

Capture Extension Logs

Depending on the situation it will also be useful for us to have the extension host logs. You can find these under the output window by changing the drop down to Log (Extension Host).

Copy the contents of this window immedately after the problem occurs and add it to an extension.txt file and send it to us.

System Information

Create a new text file called info.txt and include the output of the following commands.

code -S
code --list-extensions --show-versions
sfdx -v

Other Information

In addition to the logs and system information we will also need the following.

  • Org ID that you were running the command against
  • Date and Time of the incident

Sharing Information with Salesforce

Include all of this information and the two txt files in your support ticket or email as directed.