Troubleshooting Best Practices
Approach troubleshooting and problem-solving systematically, and take notes so you can trace your steps. Follow these guidelines to resolve issues with your client application.
C# client logging example: \SDK\vsphere-ws\dotnet\cs\samples\AppUtil\Log.cs
vSphere Web Services API. The DiagnosticManager service interface allows you to obtain information from the server log files, and to create a diagnostic bundle that contains all system log files and all server configuration information. The vSphere Client and the MOB provide graphical and Web based access to the DiagnosticManager. PerformanceManager supports exploration of bottlenecks. See vSphere Performance.
Managed Object Browser (MOB). The MOB provides direct access to live runtime server-side objects. You can use the MOB to explore the object hierarchy, obtain property values, and invoke methods. See Managed Object Browser.
VMware vSphere Client GUI. The vSphere Client allows you to examine log files for ESX/ESXi, vCenter Server, and virtual machines, and to change log level settings. Use vSphere Client menu commands to create reports that summarize configuration information, performance, and other details, and to export diagnostic bundles. The vSphere Client maintains its own local log files.