This article describes how to enable debug logging in Microsoft System Center 2012 Virtual Machine Manager (SC 2012 VMM) Service Pack 1 (SP1) and System Center 2012 R2 Virtual Machine Manager (SC 2012 R2 VMM). VMM Event Trace Log (ETL) files provide useful debug logging for troubleshooting many different VMM issues.
To enable VMM debug logging, follow these steps:
Create a folder that is named "C:\Vmmlogs."
Open an elevated Windows PowerShell window on the VMM server or host computer, and then run the following commands. (The second command may wrap in your display.)
logman delete VMM
This command deletes any existing definitions of the trace. You can safely ignore any "Data Collector Set was not found" errors that you receive.