Our Blog

Latest news and updates from HostingXtreme

Diagnosis of MS Outlook errors by enabling logging

Posted by at HostingXtreme on Comments Off on Diagnosis of MS Outlook errors by enabling logging

As a hosting provider, we are limited to troubleshooting issues related to our services and products only. Outlook seems to be a very common cause for support calls and mailing issues. However, since Outlook is a 3rd party product, we are unable to deeply diagnose issues that it may be facing.

However, you can determine a lot of information from the logs, by enabling a lesser known feature of Outlook – Logging.

To enable Logging in Outlook, you can visit this page or follow the steps below:

Enable logging

To enable logging, follow the steps for your version of Outlook.

Microsoft Outlook 2013 and Microsoft Outlook 2010

  1. On the File tab, click Options.
  2. In the Outlook Options dialog box, click Advanced.
  3. In the Other section, select the Enable troubleshooting logging (requires restarting Outlook) check box, and then click OK.
  4. Exit and then restart Outlook.

Microsoft Outlook 2007 and earlier versions

  1. On the Tools menu, click Options.
  2. Click the Other tab.
  3. Click the Advanced Options button.
  4. Select the Enable mail logging (troubleshooting) check box.
  5. Click OK to save the setting, and then return to the main Options screen.
  6. Click OK.
  7. Exit and then restart Outlook.

Outlook Connector in Outlook 2010

Enable logging

To enable logging for Outlook Connector version 14 in Outlook 2010, configure the following registry data.

  • Subkey: HKEY_CURRENT_USERSoftwareMicrosoftOffice14.0OutlookOptionsMail
  • DWORD: EnableLogging
  • Value: 1
  • Subkey: HKEY_CURRENT_USERSoftwareMicrosoftMicrosoft Office Outlook Connector
  • DWORD: TracingLevel
  • Value: 3
Disable logging

To disable logging for Outlook Connector version 14 in Outlook 2010, configure the following registry data.

  • Subkey: HKEY_CURRENT_USERSoftwareMicrosoftOffice14.0OutlookOptionsMail
  • DWORD: EnableLogging
  • Value: 0
  • Subkey: HKEY_CURRENT_USERSoftwareMicrosoftMicrosoft Office Outlook Connector
  • DWORD: TracingLevel
  • Value: 0
After you enable logging, all communications that occur between Outlook and the email server are written to a log file.
You must disable logging after the logs capture the failed communication to the server. If you do not disable logging, the logs continue to grow indefinitely.

Log file locations

The log files are formatted as plain text. To find the log files, look in the following locations, depending upon your version of Outlook and also your version of Windows, if you are running Outlook 2007 or an earlier version.

Outlook 2013 and Outlook 2010

POP3, SMTP, MAPI logs

The POP3, SMTP, and MAPI transport types are written to a single log file in the following location:

%temp%Outlook LoggingOpmlog.log

Note The Opmlog.log file also contains some information that is related to the Outlook Connector.

IMAP logs

The IMAP transport type is written to the following location:

%temp%Outlook LoggingIMAP-usernamedomainname-date-time.log

For example: IMAP-user1wingtiptoyscom-03_23_2010-12_49_31_798.log

Outlook Connector v. 14 log

The Outlook Connector version 14 log file is written to the following location:

%temp%OLC LoggingOLC-smtp_address-date-time.log

For example: [email protected]_23_2010-16_13_10_803.log

For Outlook 2007 and earlier versions

POP3, SMTP, MAPI logs

The POP3, SMTP, and MAPI transport types are written to a single log file in the following locations.

  • Windows XP and Windows 2000
    C:Documents and Settings<logon name>Local SettingstempOPMLOG.LOG
  • Windows 98, Windows 98 Second Edition, and Windows Millennium Edition (Me)
    C:WindowstempOPMLOG.LOG
IMAP logs

The IMAP transport type is written to a log file in the following locations.

  • Windows 2000
    C:Documents and Settings<logon name>Local SettingstempOutlook Logging<NameOfIMAPServer>IMAP0.LOG, IMAP1.LOG, and so on
  • Windows 98, Windows 98 Second Edition, and Windows Me
    C:WindowstempOutlook Logging<NameOfIMAPServer>IMAP0.LOG, IMAP1.LOG, and so on
Outlook.com logs

The Outlook.com log file is written to the following locations.

  • Windows 2000
    C:Documents and Settings<logon name>Local SettingstempOutlook LoggingHotmailHotmail0.LOG, Hotmail1.LOG, and so on
  • Windows 98, Windows 98 Second Edition, and Windows Me
    C:WindowstempOutlook LoggingHotmailHotmail0.LOG, Hotmail1.LOG, and so

Notes

  • IMAP and Outlook.com accounts generate one log for each Send or Receive action that you perform on these accounts. (The log files are named Hotmail0.LOG, Hotmail1.LOG, etc.)
  • If you have multiple Outlook.com accounts configured, the folders in which the logs are stored are named Hotmail, Hotmail 1, Hotmail 2, and so on.
  • You may have to close Outlook so that the logs can be written to the log files.

Comments are closed.