Using DiagnosticManager
The vSphere API provides access to the DiagnosticManager, the service interface for obtaining information from the log files and for generating diagnostic bundles. The logs are populated based on configuration settings, such as info, trivia, and so on. See Log Level Settings.
The DiagnosticManager is a managed object that works service-wide, rather than on a per-session basis. The DiagnosticManager has no properties, but provides operations for these tasks:
DiagnosticManager Managed Object and Associated Data Objects shows a UML class diagram for DiagnosticManager, which is available on ESX/ESXi and vCenter Server systems.
DiagnosticManager Managed Object and Associated Data Objects
As shown in DiagnosticManager Managed Object and Associated Data Objects, DiagnosticManager supports these methods:
The DiagnosticManagerLogDescriptor.creator property contains the creator of the log, which is the system or subsystem that controls a specific log.
The creator value is populated from the DiagnosticManagerLogCreator enumeration. DiagnosticManagerLogCreator Enumeration lists all string values currently available from the DiagnosticManagerLogCreator enumeration that can populate the creator property of the DiagnosticManagerLogDescriptor data object.