Microsoft KB Archive/221197

{|
 * width="100%"|

Enabling Logging and Tracing for RSVP

 * }

-

The information in this article applies to:


 * Microsoft Windows 2000 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
Troubleshooting RSVP(QoS) can be made easier by using the different levels of logging and tracing internal to the product.

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).

You can use the following registry keys to enable logging and tracing for the resource reservation protocol (RSVP). Each additional level of logging requires additional system resources, so you should enable only the features you need to diagnose a problem.


 * EventlogLevel

Key: System\CurrentControlSet\Services\Rsvp\Parameters

Value Type: REG_DWORD

Valid Range: 0 - 3

Default: 0

Created by Install: No

Description: This parameter controls the type of events written to the event log. At level 0, only start/stop events, DSBM state change events, and LPM loading error events are logged.
 * EnableTracing

Key: System\CurrentControlSet\Services\Rsvp\Parameters

Value Type: REG_DWORD - BOOLEAN flag

Valid Range: zero or non-zero

Default: zero

Created by Install: No

Description: If this parameter contains a non-zero value, the RSVP service writes a record to the RSVP tracing file for every RSVP message received or sent. If this key value is missing or contains zero, no trace file records are written by the RSVP service.
 * DirectoryToStoreTracefiles

Key: System\CurrentControlSet\Services\Rsvp\Parameters

Value Type: REG_SZ - directory file path

Valid Range: Valid file path

Default: %systemroot%\system32\logfiles

Created by Install: No

Description: This parameter controls the folder in which the RSVP trace files are created. The RSVP trace files have the name format Rsvpxxxx.trc, where xxxx represent the trace file number.
 * MaxSizeOfTracefiles

Key: System\CurrentControlSet\Services\Rsvp\Parameters

Value Type: REG_DWORD - size in bytes

Valid Range: positive number

Default: 1 megabyte

Created by Install: No

Description: This parameter controls the maximum size of the RSVP trace file. When the trace file size reaches this value, the RSVP service opens the next file and starts writing to that file. The contents of the new file are deleted before writing. If the RSVP service has used up all the available files, the first file is overwritten.
 * MaxNumberOfTracefilesToUse

Key: System\CurrentControlSet\Services\Rsvp\Parameters

Value Type: REG_DWORD

Valid Range: > 1

Default: 10

Created by Install: No

Description: This parameter controls the number of trace files used by the RSVP service. The RSVP service uses trace files as circular buffers and ove writes the first file when the last file is full.

Additional query words:

Keywords : kbnetwork

Version : WINDOWS:2000

Platform : WINDOWS

Issue type : kbhowto

Technology :