summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoropswill <will@nixops.org>2025-06-26 17:10:58 +0800
committerGitHub <noreply@github.com>2025-06-26 10:10:58 +0100
commit1772d6700d1f71539595f0b93c1c27c897430599 (patch)
tree459853129d2ce0f373035957d1ee68ed3355010c
parent2b0d8189cd257b10b68955457f8c9714860a2413 (diff)
downloadvyos-documentation-1772d6700d1f71539595f0b93c1c27c897430599.tar.gz
vyos-documentation-1772d6700d1f71539595f0b93c1c27c897430599.zip
Container: T7473: update document for the log-driver (#1639)
-rw-r--r--docs/configuration/container/index.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/configuration/container/index.rst b/docs/configuration/container/index.rst
index 8d5ca3de..228754cc 100644
--- a/docs/configuration/container/index.rst
+++ b/docs/configuration/container/index.rst
@@ -285,15 +285,15 @@ Container Registry
Log Configuration
====================
-.. cfgcmd:: set container log-driver [k8s-file | journald]
+.. cfgcmd:: set container name <name> log-driver [k8s-file | journald | none]
Set the default log driver for containers.
- - **k8s-file**: Logs to a plain text new line deliminated json file
- - **journald**: Logs to the systems journal
+ - **k8s-file**: Log to a plain text file in Kubernetes-style format.
+ - **journald**: Log to the system journal
+ - **none**: Disable logging for the container
- Current default is k8s-file. Using journald will result in the logs
- not showing up in the container log operation command but the global log command.
+ Current default is journald.
******************