Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
Note It is always best to enable logging when you are confident you can reproduce the problem in a timely manner. If you leave logging enabled for several hours/days, the problem becomes very difficult to analyze because of how much information is captured in the log file.
Enable global logging in Outlook 2010 and Outlook 2013
When you enable global logging through the Outlook interface, Outlook generates both transport and advanced trace logs. The advanced trace log contains advanced logging events. This includes RPC trace events, Sync events, and Exchange Web Services events related to AutoDiscover, Availability Services, MailTips, and OOF. The mail transport logs are text-based logs, such as OPML, IMAP, POP3, SMTP, and more are also generated.
Note In Outlook 2010, global logging changed after RTM (Release to Manufacturing). To troubleshoot a performance issue or other unexpected behavior, you must first make sure that you are using the most recent build of Outlook. For more information about the latest applicable updates for Outlook, click the following article number to view the article in the Microsoft Knowledge Base:
2625547 How to install the latest applicable updates for Microsoft Outlook (US English only)
Additionally, this is the only way to make sure that the expected logs are generated when you follow these steps.
-
On the File tab, select Options.
-
In the Outlook Options dialog box, select Advanced.
-
Scroll down the list of settings and then select the Enable troubleshooting logging (requires restarting Outlook) option.
Note This option configures the following registry data:
Key: HKEY_CURRENT_USER\Software\Microsoft\Office\xx.0\Outlook\Options\Mail
DWORD: EnableLogging
Value: 1
where xx.0 is 14.0 for Outlook 2010 and 15.0 for Outlook 2013.
-
Click OK.
- Exit Outlook.
- Start Registry Editor.
- Create the following registry value at the specified location:
Note Manually create any registry keys or values if they do not exist. Also, unless otherwise specified, all registry keys are the same for 32-bit and 64-bit versions of Office. If the value already exists, note it.
Key: HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\xx.0\Outlook\Options\Shutdown
DWORD: FastShutdownBehavior
Value: 2
where xx.0 is 14.0 for Outlook 2010 and 15.0 for Outlook 2013.
- Exit Registry Editor.
-
Restart Outlook and reproduce your issue.
-
After the issue is reproduced, exit Outlook.
Note The log files are created in multiple folders. These folders differ per version.
Outlook 2010
Log files in the %temp% folder |
File name |
Outlook advanced ETW log |
Outlook-########.etl |
Outlook RPC log |
OLKRPCLOG_date-time.etl |
AutoDiscover log |
olkdisc.log |
Outlook/SharePoint synchronization logs |
.htm and .xml files |
Log files in the %temp%\OlkAS folder |
File name |
Availability Service, OOF, and Meeting Suggestion log files |
date-time -AS.log |
Protection Rules log files |
date-time -PB4S.log |
Unified messaging log files |
date-time -UM.log |
Unified Messaging configuration log files |
date-time .UMCFG.log |
Log files in the %temp%\OlkCalLogs folder |
File name |
Outlook calendar log files |
OlkCalLog_ date_time .etl |
Log files in the %temp%\Outlook Logging folder |
File name |
MailTips log |
date-time-mailtips.log |
OOF log |
date-time-oof.log |
Transport log file |
opmlog.log |
Outlook profile logs |
Prof_OUTLOOK_PID_OutlookStart_date_time.txt Prof_OUTLOOK_PID_LoggingStart_date_time.txt |
SMTP log files |
emailaddress -Outgoing-date_time.log |
POP3 log files |
emailaddress -Incoming-date_time.log |
IMAP log files |
IMAP- emailaddress -Incoming-date_time.log |
HTTP DAV log files |
HTTP- emailaddress - date_time.log |
Outlook Hotmail Connector log files |
OLC-emailaddress -date_time.log OLC-date_time.log emailaddress.txt |
Outlook Sharing Engine log files |
SharingEngine date.log |
Outlook-Windows Desktop Search indexing log files |
data file name.log |
Outlook first-run process log file |
firstrun.log |
Outlook 2013
Log files in the %temp% folder |
File name |
Outlook/SharePoint synchronization logs |
.htm and .xml files |
Log files in the %temp%\EASLogFiles |
File name |
EAS logs for Outlook.com accounts |
.bin and .xml folders |
Log files in the %temp%\OlkCalLogs folder |
File name |
Outlook calendar log files |
OlkCalLog_date_time .etl |
Log files in the %temp%\Outlook Logging folder |
File name |
Advanced ETW log |
Outlook-########.etl |
Transport log file |
opmlog.log |
Outlook profile logs |
Prof_OUTLOOK_PID_xxxxxxxx_date_time.txt Prof_OUTLOOK_PID_LoggingStart_date_time.txt |
SMTP log files |
emailaddress -Outgoing-date_time.log |
POP3 log files |
emailaddress -Incoming-date_time.log |
IMAP log files |
IMAP-emailaddress -Incoming-date_time.log |
Outlook Sharing Engine log files |
SharingEngine date.log |
Outlook-Windows Desktop Search indexing log files |
data file name.log |
Outlook first-run process log file |
firstrun.log |
Note You can sort by "Date modified" to find the files that were created most recently.
-
After you send the files to the Microsoft Support engineer, restore the original settings by disable the logging from step 3 and setting FastShutdownBehavior to the default value 0, unless you noted an existing value in step 7.
Enable Outlook 2013 advanced logging only
In Outlook 2013, you can enable the advanced ETW logging without having to enable global logging. If you use the following registry setting, the mail transport logs (POP3, SMTP, and so on) are not generated. Additionally, the Outlook window title bar does not display the "Logging Enabled" string.
- Exit Outlook.
- Start Registry Editor.
- Create the following registry values at the specified locations:
Note Manually create any registry keys or values if they do not exist. Also, unless otherwise specified, all registry keys are the same for 32-bit and 64-bit versions of Office.
Key: HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Options\Mail
DWORD: EnableETWLogging
Value: 1
Path: HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\15.0\Outlook\Options\Shutdown
DWORD: FastShutdownBehavior
Value: 2
Note If FastShutdownBehavior already exists, note the value.
- Exit Registry Editor.
- Start Outlook.
- Reproduce the problem.
- Exit Outlook.
- After you send the files to the Microsoft Support engineer, restore the original settings by changing EnableETWLogging to 0 and FastShutdownBehavior to 0 (default), unless you noted an existing value for FastShutDownBehavior in step 3.
Performance Log Users group
If the .etl files are not generated as expected, you may have to add your user account to the Performance Log Users group on the workstation. To add your user account to the Performance Log Users group, follow these steps:
- Click Start, click in the Start Search box, type compmgmt.msc, and then press ENTER.
- Expand System Tools, expand Local Users and Groups, and then click Groups.
- In the list of groups, right-click Performance Log Users, and then click Add to Group.
- On the General tab, click Add.
- Type the user name, or click Advanced to search the directory for your user account.
- When you have finished, click OK, and then click OK again to close the Performance Log Users Properties dialog box.