Home > Mac administration, Mac OS X, macOS, Office 2016 > Enabling debug logging for Microsoft AutoUpdate

Enabling debug logging for Microsoft AutoUpdate

As part of assisting a colleague with a customer today, I needed to figure out how to enable the debug logging for Microsoft AutoUpdate. For Mac admins with a similar need, please see below the jump for details.

Microsoft AutoUpdate (MAU) sends its logs to the following location:

/Library/Logs/Microsoft/autoupdate.log

Screen Shot 2017 02 03 at 3 17 36 PM

By default, this is INFO level logging and usually appears like this.

To start debug logging, you need to enable MAU’s Extended Logging using the following procedure:

1. Quit Microsoft AutoUpdate (if running.)
2. Open Terminal and run the following command:

defaults write com.microsoft.autoupdate2 ExtendedLogging -bool true

Screen Shot 2017 02 03 at 3 25 51 PM

3. Launch Microsoft AutoUpdate.
4. Run whatever process is needed.
5. Check /Library/Logs/Microsoft/autoupdate.log for the results.

The additional logging should be marked with the Debug tag:

For those who want to enable MAU’s ExtendedLogging setting using management profiles, I’ve created a .mobileconfig file and posted it here on Github:

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

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: