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

ID: Q164126


The information in this article applies to:

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

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: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).
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


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

Additional query words:


Keywords          : XFOR 
Version           : winnt:5.0
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: February 25, 1999