While troubleshooting issues involving the Skype for Business client, it may be required to collect logs for support to review. Here I will outline the steps for collecting these logs, so that the best possible data is available.
First we want to ensure logging is enabled. Note that some organizations control this by policy, so the option may not be changeable.
- Within the Skype for Business client, open your options by clicking the gear icon () in the upper right corner.
- This should open the Skype for Business – Options window, on the General section.
- Locate the drop down for “Logging in Skype for Business”
- Ensure the “Full” option is selected in the drop down.
Next we want to maximize the logging verbosity. This should only need to be done once on the machine where the logs are being collected from.
- Download LyncTracing.zip and extract it.
- Run MaxLyncTracing.reg
- Restart the Skype for Business client to allow these keys to take effect.
Next we want to locate our Tracing folder. Skype for Business writes tracing data to a specific location that will depend on the version of the client you are running:
- For Lync 2013/SfB 2015 the Tracing folder is located at:
- %localappdata%/Microsoft/Office/15.0/Lync/Tracing
- For SfB 2016 the Tracing folder is located at:
- %localappdata%/Microsoft/Office/16.0/Lync/Tracing
Finally we will attempt to reproduce the behavior and collect the logs:
- If the issue is easily reproducible then follow these steps:
- Exit the Skype for Business client.
- Navigate to the Tracing folder outlined above.
- Delete the contents of the folder.
- Some items may not be able to be deleted if other applications such as Outlook are running. These can be safely skipped.
- Launch the Skype for Business client and reproduce your issue.
- Once completed, exit the Skype for Business client.
- ZIP the entire Tracing folder.
- If the issue is intermittent or unpredictable, then follow these steps:
- Continue to use your client until the issue occurs.
- If possible, exit the client as soon as possible after the issue reproduces.
- ZIP the entire Tracing folder.
- Once you have the ZIP file containing your Tracing folder, provide it to the support individual you are working with.
Depending on the nature of the issue being looked at, the following may also be helpful:
- A description with the timeframe and steps taken to get the issue.
- Screenshots of the behavior.
- If requested, supplemental logs from another source, such as a network trace or Fiddler trace.