From 4e4f09e12639df469353b1fadae877a4ea76102b Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Tue, 2 Jun 2015 12:44:23 -0700 Subject: [PATCH] Change address to syslog-address in syslog docs Signed-off-by: Alexander Morozov Upstream-commit: f9f6d8a353e7a16b17ef5f5340e8c3dbd98fb3c6 Component: cli --- components/cli/docs/sources/reference/run.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/cli/docs/sources/reference/run.md b/components/cli/docs/sources/reference/run.md index 0806c91ea2..7438fe8cd6 100644 --- a/components/cli/docs/sources/reference/run.md +++ b/components/cli/docs/sources/reference/run.md @@ -882,17 +882,17 @@ command is not available for this logging driver The following logging options are supported for this logging driver: - --log-opt address=[tcp|udp]://host:port - --log-opt address=unix://path + --log-opt syslog-address=[tcp|udp]://host:port + --log-opt syslog-address=unix://path --log-opt syslog-tag="mailer" -`address` specifies the remote syslog server address where the driver connects to. +`syslog-address` specifies the remote syslog server address where the driver connects to. If not specified it defaults to the local unix socket of the running system. If transport is either `tcp` or `udp` and `port` is not specified it defaults to `514` The following example shows how to have the `syslog` driver connect to a `syslog` remote server at `192.168.0.42` on port `123` - $ docker run --log-driver=syslog --log-opt address=tcp://192.168.0.42:123 + $ docker run --log-driver=syslog --log-opt syslog-address=tcp://192.168.0.42:123 `syslog-tag` specifies tag for syslog messages from container.