What is the Enable logging (troubleshooting) option?

For diagnostic purposes, Microsoft Outlook contains an option that turns on logging for certain Outlook features. These logs can be helpful for support staff who are troubleshooting problems with the transfer of messages between Outlook and e-mail servers.

In this article


What information does logging record?

Outlook contains a logging option for the following features:

Microsoft Support uses the logged diagnostic information to help identify issues. E-mail server administrators can use some of the diagnostic data to troubleshoot problems with e-mail messages. When logging is turned on, Logging Enabled appears on the Outlook title bar to remind you not to leave logging turned on unnecessarily.

Communications with Exchange, POP3, SMTP, and IMAP servers can be logged. The logs are in plain text and are not encrypted.

Calendar transactions that are generated by Outlook features, by user actions, by the object model, or by the MAPI Calendar Table are written to a log file. The log file contains information about the following items:

  • Sniffer (Inbox autoprocessing)
  • Free/busy publishing
  • Reminders
  • Calendar item actions (creation, modification, or deletion)
  • Resource booking

The primary purpose of the calendar logging feature is to quickly identify situations where, for example, meetings are inexplicably deleted from a calendar folder. To help protect customer data, the calendar log file is a binary file that cannot be read without a conversion process. Contact Microsoft Support for additional information about this feature.

Top of Page Top of Page

Turn on or off logging

  1. Click the File tab.
  2. Click Options.
  3. Click Advanced.
  4. Under Other, select or clear the Enable troubleshooting logging (requires restarting Outlook) check box.
  5. Restart Outlook.

After you restart Outlook, (Logging Enabled) appears in the title bar if the logging feature is turned on.

 Important    It is very important that you turn off logging after you complete your troubleshooting. If you do not turn off logging, the log files continue to increase in size.

Top of Page Top of Page

Log file locations

MAPI (Exchange), POP3, and SMTP transports    

The log file has the name OPMLog.log and is located in one of the following locations:

  • Windows 7 and Windows Vista

c:\Users\user name\AppData\Local\Temp\Outlook Logging

  • Windows XP

c:\Documents and Settings\user name\Local Settings\Temp\Outlook Logging

The Local Settings and AppData folders are hidden by default.

ShowHow do I view hidden folders?

To display hidden folders in Windows, do the following:

  1. Click the Start button, and then click Control Panel.
  2. Open Folder Options.

To locate Folder Options, in the search box at the top of window, type Folder Options. In Control Panel for Windows XP, type Folder Options in the Address box.

  1. On the View tab, under Advanced settings, under Files and Folders, under Hidden files and folders, select Show hidden files and folders.

IMAP transport    

The log file name is similar to IMAP-ExampleCom-07_19_2010-14_03_44_865.log and is located in one of the following locations:

  • Windows 7 and Windows Vista

c:\Users\user name\AppData\Local\Temp\Outlook Logging

  • Windows XP

c:\Documents and Settings\user name\Local Settings\Temp\Outlook Logging

ShowThe Local Settings or AppData folder is missing

The Local Settings and AppData folders are hidden by default. Do one of the following to see these folders:

  • Windows 7 and Windows Vista    
    1. Click Start, and then click Computer.
    2. On the Tools menu, click Folder Options, click the View tab, and then click the Show hidden files and folders option.
  • Windows XP    
  1. In Windows, click the Start button, and then click Control Panel.
  2. Under Pick a Category, double-click Performance and Maintenance.

 Note    If you are using Classic View in Control Panel, skip to the next step.

  1. Under See Also, click File Types.

 Note    If you are using Classic View in Control Panel, double-click Folder Options.

  1. Click the View tab.
  2. Under Advanced settings, under Files and Folders, under Hidden files and folders, click Show hidden files and folders.

 Notes 

  • IMAP and Windows Live ID accounts generate one log for each Send/Receive action that you perform on these accounts.
  • You may need to exit Outlook for the logs to be written to the log files.

Top of Page Top of Page

Administrator information

Additionally, you can deploy logging settings to users. Default Outlook logging settings can be configured in the Office Customization Tool (OCT) on the Modify User Settings page, or you can enforce the settings by using the Outlook Group Policy template (Outlk14.adm) in the Group Policy Editor.

To enforce logging settings for Outlook users, do the following:

  1. In Group Policy, in the Outlook 2010 policy template Outlk14.adm, under User configuration\Administrative templates\Microsoft Outlook 14\Tools | Options\Other\Advanced, double-click Enable mail logging (troubleshooting). Select Enabled to enable configuring the settings.
  2. Select or clear the Enable troubleshooting logging (requires restarting Outlook) check box.

Because of performance and security reasons, we do not recommend that you deploy the logging feature. You should turn on the logging feature only when you need it.

Top of Page Top of Page

 
 
Applies to:
Outlook 2010