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

Selenium firefox driver session fails with : Could not start a new session. Response code 500. Message: Expected browser binary location, but unable to find binary in default location,

 Error: With Firefox driver /gecko driver Could not start a new session. Response code 500. Message: Expected browser binary location, but u...