Microsoft KB Archive/164126

= XFOR: How to Enable Diagnostic Logging for News Network Transport Protocol (NNTP) =

Article ID: 164126

Article Last Modified on 3/30/2004

-

APPLIES TO


 * Microsoft Exchange Server 5.0 Standard Edition
 * Microsoft Exchange Server 5.5 Standard Edition

-



This article was previously published under Q164126



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
This article explains how to enable Protocol Logging for the Internet News Service in Microsoft Exchange Server.



MORE INFORMATION
There is no Diagnostic Logging tab in the Internet News Service property pages. Diagnostic logging can be enabled by editing the registry.

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.

To enable logging for pull newsfeeds and all outbound newfeeds, follow these steps:  Start the Windows NT Registry Editor (Regedt32.exe). Locate the following registry key: 

\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeINS \Parameters

 Change the value of ProtocolLoggingLevel to one of the following values:

0 = Default

1 = No Logging

4 = Maximum Logging

5 = Logs conversation, including the text of each posted message

 The Microsoft Exchange Information Store service needs to be restarted before the changes are reflected.

NOTE: Logging at level 5 can fill up disk space very quickly. This should only be used when absolutely necessary.

The log file is located in the Exchsrvr\Insdata\Log directory. Log files will have a name similar to L0000000.log To change to the path for the log files, follow these steps:  Start the Windows NT Registry Editor (Regedt32.exe).</li> Locate the following registry key: 

\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeINS \Parameters

</li> On the Edit menu, select AddValue, and add the following value:

Value Name: NNTP Protocol Log Path Data Type: REG_SZ

</li> Click OK.</li> Enter a string value that will be the new path for the NNTP log file. For example:

c:\Logs\Nntp\Nntppull.log

</li> Click OK.</li></ol>

To enable logging for incoming push newsfeeds and all NNTP client activity, follow these steps:  Start the Windows NT Registry Editor (Regedt32.exe).</li> Locate the following registry key: 

\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem

</li> Change the value of ProtocolLoggingLevel to one of the following values:

0 = Default

1 = No Logging

4 = Maximum Logging

5 = Logs conversation, including the text of each posted message

</li></ol>

NOTE: Logging at level 5 can fill up disk space very quickly. This should only be used when absolutely necessary. The location of the log files is determined by the following registry key: 

\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS \Parameters \System\NNTP Protocol Log Path

Keywords: kbhowto KB164126

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.