docker/docker — pull request #9513 by maximkulkin (2014-12-04 23:15:51+00:00)
Title: Support forwarding container logs to syslog

Docker has feature to view container logs (output to stdout and stderr),
but it is not very convenient. This patch adds an option to enable
forwarding of log messages to syslog server.

To enable syslog forwarding, add "--syslog" to docker's "run" command's
arguments. It will forward messages to local (host's) syslog server. To
forward to remote syslog, use "--syslog-url=udp://server:port"
parameter.

Other options allow configuring syslog parameters:
* --syslog-facility
* --syslog-severity
* --syslog-tag