You can VMware Cloud Director errors in the vRealize Operations Manager adapter and collector log files. You can view log files in the user interface or in an external log viewer.

The Management Pack for VMware Cloud Director log files are in the /storage/log/vcops/log/adapters/VCloudAdapter folder. The collector log files are in the /storage/log/vcops/log folder.

Perform the following steps to change the log level from vRealize Operations Manager user interface.

  1. Navigate to Administration > Support > Logs
  2. Select the collector node from the right pane on which Management Pack for VMware Cloud Director instance is configured.
  3. Navigate to Collector > Adapters > vCloud Adapter and click Edit.

You can set the log level for each class in the log4j.properties file in the /usr/lib/vmware-vcops/user/conf/collector folder, for example:

log4j.logger.com.integrien.adapter3.vlcloud.VCloudAdapter=debug

The logging level is set to ERROR by default. To troubleshoot issues, set the logging level to INFO. To view detailed messages, including micro steps, queries, and returned results, set the logging level to DEBUG.

Note: If you set the logging level to DEBUG, log files can become large very quickly. Set the logging level to DEBUG only for short periods of time.

For information about viewing log files and modifying logging levels, see the online help.