Use log files in troubleshooting Microsoft Teams

There are three types of log files automatically produced by the client, which can be leveraged to assist in troubleshooting Microsoft Teams:

  • Debug logs

  • Media logs

  • Desktop logs

When creating a support request with Microsoft Support, the support engineer will require the debug logs. Having the debug logs on hand before creating the support request will allow Microsoft to quickly start troubleshooting the problem. Media or desktop logs are only required if requested by Microsoft.


In this article, the term Debug logs refers to the logs that are used for troubleshooting. However, the files that are generated for these logs will contain the term diagnostic logs in their names.

The following table outlines the various clients and their associated logs. Log files are stored in locations specific to the client and operating system.

Client Debug Desktop Media
Web X - -
Windows X X X
Linux X X X
iOS - - -
Android - - -

For a complete list of supported operating systems and browsers, see Get clients for Microsoft Teams.

Debug logs

These are the most common logs and are required for all Microsoft support cases. Debug logs are produced by the Windows and Mac desktop clients, as well as by browser-based clients. The logs are text based and are read from the bottom-up. They can be read using any text-based editor, and new logs are created when logging into the client.

Debug logs show the following data flows:

  • Login

  • Connection requests to middle-tier services

  • Call/conversation

The debug logs are produced using the following OS-specific methods:

  • Windows:

    Keyboard shortcut: Ctrl + Alt + Shift + 1

  • Mac OSX:

    Keyboard shortcut: Option + Command + Shift+1

  • Linux:

    Keyboard shortcut: Ctrl + Alt + Shift + 1

The debug logs are automatically downloaded to the following folders:

  • Windows: %userprofile%\Downloads

  • Mac OSX: ~/Downloads

  • Linux: ~/Downloads

  • Browser: You will be prompted to save the debug log to default save location

Media logs

Media logs contain diagnostic data about audio, video, and screen sharing in Teams meetings. They are required for support cases that are linked to call-related issues.

Media logging is turned off by default. To log diagnostic data for Teams meetings, users must turn on the option in the Teams client. Go to Settings > General, select the Enable logging for meeting diagnostics (requires restarting Teams) check box, restart Teams, and reproduce the issue.

The following table outlines the media log locations. When you send the log files to Microsoft support, please verify the timestamp of the log files to ensure the logs cover the time frame when you reproduced the issue.

Client Location
Windows %appdata%\Microsoft\Teams\media-stack\*.blog
Mac OSX ~/Library/Application Support/Microsoft/Teams/media-stack/*.blog
~/Library/Application Support/Microsoft/Teams/skylib/*.blog
Linux ~/.config/Microsoft/Microsoft Teams/media-stack/*.blog
~/.config/Microsoft/Microsoft Teams/skylib/*.blog

Here's a list of the log files that are generated and the information they contain.

Log file name Description Contains information related to the media stack. This includes channel status such as resolution, decoders and encoders used, and the number of frames sent and received, and camera and video-based screen sharing (VBSS) session status. Records information related to remote control actions, such as the time stamp when control is given, and mouse pointer information.
Teams_MediaStackETW-2-U-xr-U.etl Records media stack trace events. Contains information related to the media agent, including rendering quality. Records events in the ts-calling API.

Desktop logs

Desktop logs, also known as bootstrapper logs, contain log data that occurs between the desktop client and the browser. Like media logs, these logs are only needed if requested by Microsoft. The logs are text based and can be read using any text-based editor in a top-down format.


  • Right-click the Microsoft Teams icon in your system tray, and select Get Logs.

Mac OsX:

  • Choose Get Logs from the Help pull-down menu.


  • Click on the Microsoft Teams icon in your system tray, and select Get Logs.
Client Location
Windows %appdata%\Microsoft\Teams\logs.txt
Mac OSX ~/Library/Application Support/Microsoft/Teams/logs.txt
Linux ~/.config/Microsoft/Microsoft Teams/logs.txt

Teams Troubleshooting