Docker logs
Docker Compose should only be used to deploy DCT in an evaluation/testing capacity.
DCT leverages the Docker logging infrastructure. All containers log to stdout
and stderr
so that they are processed by Docker. Docker supports logging drivers for a variety of tools, such as Fluentd, Amazon CloudWatch, and Splunk.
Use the Configure logging drivers Docker article to configure them – these changes will need to be made to the docker-compose.yaml file. This section of the Docker article explains how to alter the Compose file to adjust the logging driver. For example, to use syslog
for the proxy container, it would appear as follows.
services:
proxy:
logging:
driver: syslog
options:
syslog-address: "tcp://192.123.1.23:123"