This article provides steps to enable debug logging for autodeploy and imagebuilder services on vCenter server for troubleshooting purposes.
VMware vCenter Server 7.x
VMware vCenter Server 8.x
Open the below file using a text editor:
/etc/vmware-rbd/autodeploy-setup.xml
Then, change the value level from:
<debug>
<level>INFO</level>
</debug>
to
<debug>
<level>DEBUG</level>
</debug>
Then, restart the autodeploy service for the changes to take effect
service-control --restart rbd
Open the below file using a text editor:
/etc/vmware-imagebuilder/sca-config/imagebuilder-config.props
Then, change the value level from:
loglevel=INFO
cacheSize_GB=2
vmomiPort=8098
httpPort=8099
to
loglevel=DEBUG
cacheSize_GB=2
vmomiPort=8098
httpPort=8099
Then, restart the imagebuilder service for the changes to take effect
service-control --restart imagebuilder