From 6f7161dac7b47389d412ac9d03b534fe04772f9b Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 16 Sep 2016 15:29:28 +0200 Subject: [PATCH] Add link to logging drivers reference Signed-off-by: Sebastiaan van Stijn Upstream-commit: 7ca02f86de2ceef980cad98faefc15cbc628c91a Component: engine --- components/engine/docs/reference/commandline/logs.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/components/engine/docs/reference/commandline/logs.md b/components/engine/docs/reference/commandline/logs.md index 9074311405..437e709631 100644 --- a/components/engine/docs/reference/commandline/logs.md +++ b/components/engine/docs/reference/commandline/logs.md @@ -24,11 +24,14 @@ Options: -t, --timestamps Show timestamps ``` -> **Note**: this command is available only for containers with `json-file` and -> `journald` logging drivers. - The `docker logs` command batch-retrieves logs present at the time of execution. +> **Note**: this command is only functional for containers that are started with +> the `json-file` or `journald` logging driver. + +For more information about selecting and configuring login-drivers, refer to +[Configure logging drivers](../../admin/logging/overview.md). + The `docker logs --follow` command will continue streaming the new output from the container's `STDOUT` and `STDERR`.