Microsoft KB Archive/240347

= OL2000: How to Activate Diagnostic Logging =

Article ID: 240347

Article Last Modified on 10/8/2003

-

APPLIES TO


 * Microsoft Outlook 2000 Standard Edition

-



This article was previously published under Q240347



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
To troubleshoot Internet Mail connections it is useful to log certain aspects of the connection. There is no option in Outlook to enable logging for Internet, SMTP, and POP sessions. You can enable logging by editing the Windows Registry.



MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

How To Enable Logging of Internet Mail Sessions
You can enable logging of Internet mail sessions by adding a key to the Windows Registry:  Quit Outlook. Click Start, click Run, and in the Open box, type regedit, and click OK. Move to, and click to select the following key:

HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Outlook\Options\Mail

 On the Edit menu, point to New, and then click DWORD Value. Type the name Logging, and then press ENTER. In the Value data box, type 1, click OK, and then close the Registry Editor.</li> Start Outlook to create the logs.</li></ol>

After you establish or attempt to establish an Internet Mail session, three files will be created. The location of these files depends on the operating system you are running. <ul> Microsoft Windows 98 and Microsoft Windows Millennium Edition (Me)

C:\Windows\Temp\Outlook Logging

</li> Microsoft Windows NT, Microsoft Windows 2000, and Microsoft Windows XP

C:\Documents and Settings\ \Local Settings\Temp\Outlook Logging\ProfileName

</li></ul>

The files are stored in this folder within a folder that corresponds to the name of the account. There will be a log folder for each account on the computer. The subfolder will contain 3 files for logging various activities:
 * InetXP.txt logs the Internet session
 * Pop3log.txt logs mail-retrieval activity
 * Smtplog.txt logs mail-sending activity

<div class="references_section">