Docker allows you to select the logging driver while starting the Docker daemon. With the release of Docker 18.03, eleven types of logging drivers are supported:
Driver | Description |
None | No logs are available for the container and docker container logs does not return any output. |
json-file (default) | The logs are formatted as JSON. |
syslog | Writes log messages to the syslog daemon on the host machine. |
journald | Writes log messages to the journald daemon on the host machine. |
gelf | Writes log messages to a Graylog Extended Log Format (GELF) endpoint such as Graylog or Logstash. |
fluentd | Writes log messages to the fluentd daemon on the host machine. |
awslogs | Writes log messages to Amazon CloudWatch Logs. |
splunk | Writes log messages to splunk using the HTTP Event Collector. |
etwlogs | Writes log messages as Event Tracing for Windows... |