Microsoft KB Archive/937362

= How configure the logging behavior of VHD Mount on a computer that is running Microsoft Virtual Server 2005 R2 SP1 =

Article ID: 937362

Article Last Modified on 6/15/2007

-

APPLIES TO


 * Microsoft Virtual Server 2005 R2 Standard Edition
 * Microsoft Virtual Server 2005 R2 Enterprise Edition

-



INTRODUCTION
VHD Mount is a command line utility that is included in Microsoft Virtual Server 2005 R2 Service Pack 1 (SP1). VHD Mount lets you mount a virtual hard-disk file as a virtual disk device on the host operating system.

When a problem occurs in VHD Mount, it logs a message that you can use to help debug the issue. VHD Mount can print these logged messages to the console. Or, VHD Mount can send these logged messages to a debugger, such as Kernel Debugger or DebugView.

This article discusses the following topics:
 * The types of messages that VHD Mount logs
 * How to configure VHD Mount to print the logged messages to the console
 * How to configure VHD Mount to send the logged messages to a debugger



MORE INFORMATION
To help debug issues that occur when you use VHD Mount, VHD Mount can log warning messages, error messages, and informational messages. In the log, warning messages are tagged as &quot;[Warning],&quot; error messages are tagged as &quot;[Error],&quot; and informational messages are tagged as &quot;[Info].&quot;

By default, VHD Mount logs only warning messages and error messages. By default, VHD Mount sends the logged messages to a debugger. You can change these default settings by setting the value of the VHD_MOUNT_TRACE environment variable to 1, 2, or 3.

Note When you set the value of the VHD_MOUNT_TRACE environment variable to 1, 2, or 3, VHD Mount logs informational messages in addition to warning messages and informational messages.

Keywords: kbhowto kbinfo KB937362

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.