Enabling diagnostic logging for Microsoft Outlook 2019
2020-07-21 03:31:21 Author: derflounder.wordpress.com(查看原文) 阅读量:254 收藏

Home > Mac administration, Management Profiles, Office 365 > Enabling diagnostic logging for Microsoft Outlook 2019

Enabling diagnostic logging for Microsoft Outlook 2019

I was recently asked for assistance with a way to enable diagnostic logging for Microsoft Outlook 2019 for macOS:

@rtrouton Hi, can you help me with a one liner command to enable outlook logging on Mac?

— Sunil Reddy (@Sunildotreddy) July 17, 2020

I had seen Microsoft’s KBase article on how to do it, where it references enabling logging via the Outlook preferences:

https://support.microsoft.com/en-us/help/2872257/how-to-enable-logging-in-outlook-for-mac

However, the KBase article only references how to enable this logging via the GUI and does not show how to do this via the command line. Fortunately my colleague @golby knew which settings could enabled from the command line to produce the requested logging. For more details, please see below the jump:

The following defaults command can be run to enable Outlook’s diagnostic logging for the logged-in user:

defaults write com.microsoft.Outlook LogForTroubleshooting -bool TRUE

The following defaults command can be run to disable Outlook’s diagnostic logging for the logged-in user:

defaults write com.microsoft.Outlook LogForTroubleshooting -bool FALSE

Once the logging is enabled, the logs are stored in the following location:

/Users/username_goes_here/Library/Containers/com.microsoft.Outlook/Data/Library/Logs/

To help with enabling the logging, I’ve built a configuration profile to enable the logging. It’s available via the link below:

https://github.com/rtrouton/profiles/tree/master/EnableMicrosoftOutlookLogging


文章来源: https://derflounder.wordpress.com/2020/07/20/enabling-diagnostic-logging-for-microsoft-outlook-2019/
如有侵权请联系:admin#unsafe.sh