Microsoft KB Archive/271973

{|
 * width="100%"|

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 &quot;Restoring the Registry&quot; Help topic in Regedit.exe or the &quot;Restoring a Registry Key&quot; 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 &quot;Changing Keys and Values&quot; Help topic in Registry Editor (Regedit.exe) or the &quot;Add and Delete Information in the Registry&quot; and &quot;Edit Registry Data&quot; 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