Enabling debug logging on the VMware vSphere Service

  • login to vCenter Server appliance using ssh root


  • Login to Shell prompt and go to the below path


        vCenter Server Appliance 6.7 (HTML) /usr/lib/vmware-vsphere-ui/server/conf/serviceability.xml 

        vCenter Server Appliance 6.7(FLEX) /usr/lib/vmware-vsphere-client/server/configuration 

        Windows vCenter -C:\ProgramData\VMware\vCenterServer\runtime\vsphere-                                ui\server\configuration

  • Open and change the file Serviceability.xml

from

<root level="INFO">

<appender-ref ref="SIFTED_LOG_FILE"></appender-ref>

<appender-ref ref="LOG_FILE"></appender-ref>

</root>

to:

<root level="DEBUG">

<appender-ref ref="SIFTED_LOG_FILE"></appender-ref>

<appender-ref ref="LOG_FILE"></appender-ref>

</root>

  • re-start the vSphere Web Client service.


 -> Flex: service-control --stop vsphere-client

           service-control --start vsphere-client


  -> HTML5: service-control --stop vsphere-ui

                 service-control --start vsphere-ui

No comments:

Post a Comment

How to increase ESXi webclient login user application timeout

 To increase the default 15min timeout to 2hr Login to the esxi webclient on the right top corner ->Click the User login tab Select "...