Article ID: 114432, created on Jul 24, 2012, last review on Jan 14, 2015

  • Applies to:
  • Operations Automation

Resolution


Sometimes it is needed to enable Outlook logging in order to investigate the problem, e.g. it may be needed to troubleshoot problem with Autodiscover feature.

See below instruction how to enable mail logging option in Microsoft Office Outlook 2003/2007/2010.

Method #1: use Outlook.

  • For Outlook 2003 and Oulook 2007:
    • On the Tools menu, click Options.
    • On the Other tab, click Advanced Options.
    • Click to select the Enable mail logging (troubleshooting) check box in Outlook 2003 and the Enable logging (troubleshooting) check box in Outlook 2007, and then click OK two times.
  • For Outlook 2010:
    • On the File tab, click Options.
    • In the Outlook Options dialog box, click Advanced.
    • In the Other section, select the Enable troubleshooting logging (requires restarting Outlook) check box, and then click OK.
    • Exit and then restart Outlook.

Method #2: use Windows registry

  • Click Start > Run > enter regedit > click OK
  • In Registry Editor, locate the following key
    • Outlook 2010: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Options\Mail
    • Outlook 2007: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Options\Mail
    • Outlook 2003: HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Options\Mail
  • In the right pane, right-click EnableLogging, and then click Modify.
  • In the Edit DWORD Value dialog box, type 1 under Value data, and then click OK.
  • Quit Registry Editor.
  • Exit and then restart Outlook.

Logs are plain text flies located at the fololowing path:

  • Windows XP, Windows 2000 - Drive:\Documents and Settings\<logon name>\Local Settings\Temp\Outlook logging\Opmlog.log
  • Windows Vista, Windows 7 - Drive:\Users\<logon name>\AppData\Local\Temp\Outlook logging\Opmlog.log

This setting may be customized, you can access this setting by clicking Start > Run> typing %temp% in the Open box, and then clicking OK.

Autodiscover-related log will be located in the file %temp%\olkdisc.log.

See also Microsoft KB #831053.

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF