How do I create log files?

Logging allows you to capture certain information about how you use Skype, which can be really helpful in solving problems you may encounter when using Skype. When running Skype with logging enabled, make sure you're using the latest version of Skype.

You can create log files for Skype for Windows 8, Skype for Windows desktop (Windows XP, Windows 7 and Windows 8), Skype for Linux and Skype for Mac.

When you create a log file, it will store certain personal data in line with our Skype Privacy Policy. Since Skype encrypts the log files, their contents are accessible only to our Skype Support. We need the collected data so that we can analyze and solve your problem.

Log files do not contain data such as your chat conversations, audio or video messages.

To get started, select the version of Skype you'd like to create logs for:

Enabling logging

To enable logging in Skype for modern Windows:

  1. Download the following logging files:

    Skype for Windows 8 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. Click in a blank space in the address bar of the location with the unzipped file, then copy the location of that folder.

  4. Press the Windows + R keys together.
  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

To gather and submit your Skype for modern Windows log files when reporting an issue:

  1. Navigate to the folder where you downloaded the logging files in “Enabling logging,” above.
  2. Click in a blank space in the address bar of the location with the unzipped file, then copy the location of that folder.
  3. Press the Windows + R keys together.
  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. Attach the zipped log file archive to your issue report and send it to us.

Disabling logging

If at some point you want to disable logging in Skype for modern Windows:

  1. Navigate to the folder where you downloaded the logging files in “Enabling logging,” above.
  2. Click in a blank space in the address bar of the location with the unzipped file, then copy the location of that folder.
  3. Press the Windows + R keys together.
  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

To enable logging in Skype for Windows desktop:

  1. Quit Skype
  2. Download and extract the logging-related registry files:
  3. Right-click the zip file and select Extract all, then 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. Start the Skype client.

You can now proceed to replicate your issue. Skype will create log files in its application data folder. However, this folder is different depending on your Windows version and the user account you are using to sign into Windows:

  • Windows XP with standard user account - C:\Documents and Settings\<yourusername>\Application Data\Skype 
  • Windows Vista/7/8 with standard user account - C:\Users\<yourusername>\AppData\Roaming\Skype
  • Windows XP with administrator account  Windows Vista/7/8 with elevated administrator account UAC off - C:\Program Files\Skype\Phone

If you can't see the folders listed above, make sure you have your Folder Options set to show hidden folders:

  1. On your keyboard, press the Windows and R keys at the same time.
  2. In the Run window, type control folders and click OK.
  3. In the View tab, make sure the Show hidden files and folders option is selected, then click OK.
     

Gathering and submitting the log files

The Skype for Windows desktop client produces 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&mdash yyyymmdd-hhmmss.log
  • 'trace' log file—debug-yyyymmdd-hhmmss.trace.txt

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

Disabling logging

To disable logging in Skype for Windows desktop:

  1. Quit Skype.
  2. Open a console window, and 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.

Logging with the installer

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

  • Open a console window, and 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. Attach this file to your issue report.

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. Open a console window, type dxdiag, then press Enter
  2. Click Save All Information…
  3. When the Save As dialog appears, select where you'd like to save the file and click Save
  4. Attach this file to your issue report.

Enabling logging

To enable logging in Skype for Linux:

  1. Quit Skype.
  2. Navigate to the Skype application data directory:

    ~/.Skype/
     
  3. Create a directory named Logs.
  4. Restart the Skype client

You can now proceed to replicate your issue. The Skype client will create the log file in ~/.Skype/Logs, and will name it 'skype_<yyyy-mm-dd-hhmmss>'. 

Gathering and submitting the log files

To gather and submit your Skype for Linux client log files when reporting an issue, simply send us the log file in ~/.Skype/Logs with all of the relevant issue reports.

Disabling logging

To disable logging in Skype for Linux:

  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

Enabling logging

To be able to enable and collect log files on your Mac, you will need to download and run the Skype First Aid tool. By choosing to downloading and run this tool you are accepting the associated End User License Agreement.

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

Did this answer your question?

Thank you for your feedback

Did you know you can make video calls with three or more people anywhere in the world with Skype Premium? Find out more.

How else can we help?

You can always ask your question in our community, or if you have some feedback that could help us improve this FAQ, you can leave it below. Learn more about getting support for Skype.

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 below.

Share this article