Enabling debug logging for Imagebuilder and Autodeploy services in vCenter server
search cancel

Enabling debug logging for Imagebuilder and Autodeploy services in vCenter server

book

Article ID: 383937

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

This article provides steps to enable debug logging for autodeploy and imagebuilder services on vCenter server for troubleshooting purposes.

Environment

VMware vCenter Server 7.x
VMware vCenter Server 8.x

Resolution

To enable debug logging for autodeploy service (rbd)

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



To enable debug logging for imagebuilder service

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