This article provides information on how to forward the logs from each of the VMware Cloud Director Availability (VCDA) services to a central syslog server.
The logging for each VMware Cloud Director Availability service is controlled by a logback.xml file. To forward the VMware Cloud Director Availability logs to a syslog server, you need to update this file for each service individually. The location of the file for each service is:
Service | Default Location |
---|---|
Cloud Service | /opt/vmware/h4/cloud/config/logback.xml |
Manager Service | /opt/vmware/h4/manager/config/logback.xml |
Replicator Service | /opt/vmware/h4/replicator/config/logback.xml |
Tunnel Service | /opt/vmware/h4/tunnel/config/logback.xml |
Warning: Incorrectly modifying the logback.xml
file can result in the corresponding service to fail to start. Ensure to follow the steps below exactly as described, adding the new lines to the specified locations of the logback.xml
file.
To forward the VMware Cloud Director Availability logs to a syslog server perform the following steps: