Microsoft KB Archive/271973

From BetaArchive Wiki

How to Enable Diagnostic Logging for Replication

ID: Q271973



The information in this article applies to:


  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server



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 describes how to enable detailed event log messages for Knowledge Consistency Checker (KCC) and Active Directory replication processes.



MORE INFORMATION

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 or Windows 2000, you should also update your Emergency Repair Disk (ERD).

To enable detailed event log messages for KCC and Active Directory replication processes, use the following specific registry keys:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Diagnostics


Value Name: Knowledge Consistency Checker
Value Data: Verbose Level (0-5)
Default: 0

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Diagnostics

Value Name: Replication Events
Value Data: Verbose Level (0-5)
Default: 0

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Diagnostics

Value Name: Internal Processing
Value Data: Verbose Level (0-5)

Default: 0

Events for the preceding settings can be logged with varying levels of detail. The data values for these REG_DWORD values have a valid range of 0-5, with level zero providing minimal logging detail and level five providing maximum detail.

The log that is created is named Ntfrs_nnn.log, where nnn is a number starting at 001. The log is located in the %SystemRoot%\Debug folder.

For additional information about detailed logging for the Active Directory-based services on a Windows 2000-based domain controller, click the article numbers below to view the articles in the Microsoft Knowledge Base:

Q221111 Description of FRS Entries in the Registry

Q221112 NT File Replication Service Log File Size and Verbosity Settings

Additional query words:

Keywords : kbenv kbtool
Version : :2000
Platform :
Issue type : kbhowto
Technology : kbwin2kAdvSer kbwin2kAdvSerSearch kbwin2kDataSer kbwin2kDataSerSearch kbwin2kS kbwin2kSSearch kbwin2kSearch


Last Reviewed: October 15, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.