Cloud Foundry Logging
Page last updated:
This section contains information for debugging Cloud Foundry system components.
For versions of Cloud Foundry that use the older Droplet Execution Agent (DEA) architecture, see the DEA readme.
cf-release, the components are all configured in a similar way:
- All of the job’s log files are located in the directory
/var/vcap/sys/logof the machine on which the job is running.
- The job’s main logs are written to a file named
- Any output written directly to the job’s stdout and stderr is written to
For the Cloud Controller, database migration logs are written to
in the same directory.
Each BOSH job in
cf-release includes a job named
metron_agent. Metron itself acts as a forwarding agent for Doppler within the Loggregator metric system, but it also includes a template for configuring the
rsyslogd daemon to forward logs to a remote machine. The
syslog_daemon_config properties include:
syslog_daemon_config.address: the IP address (or DNS name) of a remote system that should receive component logs from this VM
syslog_daemon_config.port: the port on which the log recipient is listening
syslog_daemon_config.transport: the protocol over which logs should be sent (one of
relp); defaults to
For example, to use UDP as the syslog transport, the manifest is similar to the following:
Cloud Foundry no longer provides a component in
cf-release for aggregating syslog messages from Cloud Foundry components.