question

DarenNeilGrant-5863 avatar image
0 Votes"
DarenNeilGrant-5863 asked DarenNeilGrant-5863 commented

How to enable verbose logging for Ms Teams ?

I'm a user within a business tenant on microsoft 365 and I am trying to diagnose several issues with ms teams on my Linux box but the log file that is located in .config/Microsoft/Microsoft Teams/logs.txt contains very little information. Odd place for a log file might I say!

Is there a means by which the ms teams Linux client can be told to verbosely log so that I can diagnose my issues, and where would said logs be generated ?

Regards

Daren

office-teams-linux-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JimmyYang-MSFT avatar image
0 Votes"
JimmyYang-MSFT answered DarenNeilGrant-5863 commented

Hi DarenNeilGrant-5863!

To my knowledge, there are only three types of log files automatically produced by the client that can be leveraged to assist in troubleshooting Microsoft Teams: Debug
logs, Media logs, Desktop logs.

For more details about it, you can refer to:

https://docs.microsoft.com/en-us/microsoftteams/log-files#debug-logs

· 8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for the link JimmyYang-8258, unfortunately that page lists details only for Windows and MacOS. There is no mention of any details for Linux.

0 Votes 0 ·

Hi Daren!

Yes, you're right! The official document is still not talked about log path about Teams for Linux.

Then I found a post. It shows that in linux, ~/.config directory should contain only the configuration files like the name says, and any logs, caches, temporary files etc should go under ~/.local/share/ directory.

The case link is for your reference:
https://docs.microsoft.com/en-us/answers/questions/3002/linux-teams-directory-structure-log-file-format-an.html


0 Votes 0 ·

Hi JimmyYang,

Thank you for the link to the directory structure case mentioning the logs. I have indeed found the Desktop logs aka the logs.txt file in that folder structure, but I am unable to get the debug log to write out and unsure where it should be writing out to.

The webpage mentions that on Windows a CRTL + SHIFT + ALT + 1 writes out the debug logs, but using this key combination on Linux has given me no inkling of any debug logs being written out and I'm unsure where to be looking for them as the Page mentions for Windows them being written to the users Downloads folder, not something that is standard on a Linux account.

Do you or anyone else have any ideas on how to get the debug logs written out from Linux, and where on earth Teams writes them to ?

1 Vote 1 ·
Show more comments
ManuPhilip avatar image
0 Votes"
ManuPhilip answered DarenNeilGrant-5863 commented

Hello @DarenNeilGrant-5863,

There is no option available to enable more detailed logging. Instead of that, I suggest you to send your issues and details available from the log file in questions here in this forum so that others can support you to fix the issues you are facing


Please mark as "Accept the answer" if the above steps helps you. Others with similar issues can also follow the solution as per your suggestion

Regards,

Manu

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The url from JimmyYang below clearly shows that there are 3 types of logs one of which is a debug log. Does this not give more detailed logging ?

Unfortunately no mention is made in the URL from JimmyYang to Linux, so how to turn that log on, and where is would be written to are unknowns on Linux.

0 Votes 0 ·