Article ID: 937362 - Last Review: June 15, 2007 - Revision: 1.1

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

Expand all | Collapse all

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 "[Warning]," error messages are tagged as "[Error]," and informational messages are tagged as "[Info]."

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.
Collapse this tableExpand this table
VHD_MOUNT_TRACE valueResult
1Logged messages are printed to the console.
2Logged messages are sent to the debugger.
3Logged messages are printed to the console, and they are sent the debugger.
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.

APPLIES TO
  • Microsoft Virtual Server 2005 R2 Standard Edition
  • Microsoft Virtual Server 2005 R2 Enterprise Edition
Keywords: 
kbhowto kbinfo KB937362
 

Article Translations