From 3df1949e23aff9b761bfc934ca8c7102720a230d Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Fri, 27 Oct 2023 13:39:37 +0200 Subject: [PATCH] chore: tier 1 freshness: content/config/containers/logging/_index.md Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- content/config/containers/logging/_index.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/content/config/containers/logging/_index.md b/content/config/containers/logging/_index.md index e8aeafdbbd..11dc356331 100644 --- a/content/config/containers/logging/_index.md +++ b/content/config/containers/logging/_index.md @@ -1,19 +1,19 @@ --- -description: How to write to and view a container's logs +description: Learn how to write to, view, and configure a container's logs keywords: docker, logging title: View container logs aliases: -- /engine/admin/logging/ -- /engine/admin/logging/view_container_logs/ + - /engine/admin/logging/ + - /engine/admin/logging/view_container_logs/ --- The `docker logs` command shows information logged by a running container. The `docker service logs` command shows information logged by all containers -participating in a service. The information that is logged and the format of the +participating in a service. The information that's logged and the format of the log depends almost entirely on the container's endpoint command. By default, `docker logs` or `docker service logs` shows the command's output -just as it would appear if you ran the command interactively in a terminal. UNIX +just as it would appear if you ran the command interactively in a terminal. Unix and Linux commands typically open three I/O streams when they run, called `STDIN`, `STDOUT`, and `STDERR`. `STDIN` is the command's input stream, which may include input from the keyboard or input from another command. `STDOUT` is @@ -50,4 +50,4 @@ its errors to `/proc/self/fd/2` (which is `STDERR`). See the ## Next steps - Configure [logging drivers](configure.md). -- Write a [Dockerfile](../../../engine/reference/builder.md). \ No newline at end of file +- Write a [Dockerfile](../../../engine/reference/builder.md).