Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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 (http://support.microsoft.com/kb/256986/EN-US/) Description of the Microsoft Windows Registry

↑ Back to the top


Summary

This article explains how to enable Protocol Logging for the Internet News Service in Microsoft Exchange Server.

↑ Back to the top


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:
1.Start the Windows NT Registry Editor (Regedt32.exe).
2.Locate the following registry key:
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeINS \Parameters
3.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
4.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:
1.Start the Windows NT Registry Editor (Regedt32.exe).
2.Locate the following registry key:
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeINS \Parameters
3.On the Edit menu, select AddValue, and add the following value:
Value Name: NNTP Protocol Log Path Data Type: REG_SZ
4.Click OK.
5.Enter a string value that will be the new path for the NNTP log file. For example:
c:\Logs\Nntp\Nntppull.log
6.Click OK.
To enable logging for incoming push newsfeeds and all NNTP client activity, follow these steps:
1.Start the Windows NT Registry Editor (Regedt32.exe).
2.Locate the following registry key:
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
3.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
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

↑ Back to the top


Keywords: KB164126, kbhowto

↑ Back to the top

Article Info
Article ID : 164126
Revision : 5
Created on : 3/30/2004
Published on : 3/30/2004
Exists online : False
Views : 234