Help Windows Desktop

How do I create log files?

A Skype customer service agent might ask you to create and submit log files to help them solve any problems you may encounter when using Skype. 

Log files are encrypted, so they are only accessible to us at Skype support. They store certain personal data in line with our Skype Privacy Policy, but they do not contain data such as your chat conversations, audio or video messages.

When running Skype with logging enabled, make sure you're using the latest version of Skype.

Enabling logging

  1. Quit Skype
  2. Download and extract the logging-related registry files:
  3. Right-click the zip file and select Extract all, click OK to unzip the file, then navigate to the folder where you extracted the logging-related command files.
  4. Run logging-on.reg to set the Skype logging-related Registry key.
  5. Restart Skype.

You can now proceed to replicate your issue. Skype will create log files in its application data folder. The location of this folder differs depending on the version of Windows you're running. Open File Explorer and type %appdata% into the address bar to find it.

Gathering and submitting the log files

Skype for Windows desktop creates two log files: a 'main' log file, which you submit with all issue reports; and a 'trace' log file, which you submit when reporting an issue related to audio/video during a call only:

  • 'main' log file: debug-yyyymmdd-hhmmss.log
  • 'trace' log file: debug-yyyymmdd-hhmmss.trace.txt

For example, a particular session might produce files named 'debug-20160227-1152.log' and 'debug-20160227-1152.trace.txt'. Log files from the same Skype session will always have the same timestamp, which indicates when the session started.

Submit your logs to us as advised by Skype Customer Service.

Logging with the installer

The Skype for Windows desktop installer also creates an installation-specific log file, which you can attach when reporting installation issues. To run the installer with logging enabled:

  • Navigate to the folder containing your installer’s executable.
  • Run the installer, specifying the logging option SkypeSetup.exe /log

The installer creates a log file named 'install-<YearMonthDate>.log' in the current folder, with the timestamp indicating when the install started. 

DirectX Diagnostics

The DirectX Diagnostics Tool provides you with an overview of your system’s hardware configuration and device driver versions. This information is often useful in diagnosing severe audio/video-related issues. To create a DirectX Diagnostics file:

  1. Press the Windows and R keys on your keyboard at the same time. 
  2. Type dxdiag into the Run window, then press Enter.
  3. Click Save All Information…
  4. When the Save As dialog appears, select where you'd like to save the file and click Save.
 

Disabling logging

  1. Quit Skype.
  2. Navigate to the folder where you extracted the logging-related command files.
  3. Run logging-off.reg to clear the Skype logging-related Registry key.
  4. Start Skype.

Enabling logging

  1. Download the following logging files:

    Skype for Windows RT client logging-related command files

  2. Right-click the downloaded zip file and click Extract all, click OK to unzip the files, then navigate to the folder where you unzipped the files.
  3. Copy the location of that folder from the address bar.

  4. Press the Windows + R keys on your keyboard at the same time.
  5. Paste the copied location into the Run window, and add \skype-client-logging.cmd enable to the end of it. Click OK.

Gathering and submitting the log files

  1. Navigate to the folder where you downloaded the logging files in “Enabling logging,” above.
  2. Copy the location of that folder from the address bar.
  3. Press the Windows + R keys on your keyboard at the same time.
  4. Paste the copied location into the Run window, and add \skype-client-logging.cmd gather to the end of it. Click OK.
  5. Navigate to the resulting folder (it will show in the window, but it is usually the same location you ran the file from) and locate the SkypeLogs folder.

  6. Right-click the SkypeLogs folder and click Send to > Compressed (zipped) folder.
  7. Submit your logs to us as advised by Skype Customer Service.

Disabling logging

  1. Navigate to the folder where you downloaded the logging files in “Enabling logging,” above.
  2. Copy the location of that folder from the address bar.
  3. Press the Windows + R keys on your keyboard at the same time.
  4. Paste the copied location into the Run window, and add \skype-client-logging.cmd disable to the end of it. Click OK.

Enabling logging

  1. Quit Skype.
  2. Navigate to the Skype application data directory: ~/.Skype/
  3. Create a directory named Logs.
  4. Restart Skype.
 

Gathering and submitting the log files

Replicate your issue. Skype will create the log file in ~/.Skype/Logs, and will name it 'skype_<yyyy-mm-dd-hhmmss>'.

Submit your logs to us as advised by Skype Customer Service.

 

Disabling logging

  1. Quit Skype.
  2. Navigate to the Skype's application data directory: ~/.Skype/
  3. Optionally archive any existing log files to some other directory.
  4. Delete the Logs directory and all of its contents.
  5. Restart Skype.
  1. Download and install the Skype First Aid Tool. By choosing to download and run this tool you are accepting the associated End User License Agreement.
  2. Enable logging by ticking the Active Skype Logs checkmark in Skype First Aid: 

  3. Restart Skype to allow for the logging process to take effect.
  4. Replicate the issue you're having, then close Skype.
  5. Press the "Generate Bug Report Archive" button in the Skype First Aid window.
  6. Submit your logs to us as advised by Skype Customer Service.

If you're still having problems, why not ask your question in our community?

Was this article helpful?

Yes No

Please let us know why we couldn't help you today

Important : Do not enter any personal information (such as your Skype Name, email address, Microsoft account, password, or real name or phone number) in the field above.

Ask the Community

See what people are saying about "Skype settings" in the Skype Community.

Join the conversation

Still need help? Our support team is waiting to help you. Ask them now