summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Vollmar <nvollmar@gmail.com>2025-04-29 16:35:42 +0200
committerGitHub <noreply@github.com>2025-04-29 15:35:42 +0100
commit67341f4d68e25f7c31d8b9a63263f4ee993d9ca1 (patch)
tree6d349028a9940f9b55883eb65e2da41bb9908b14
parent51a81fdbfd166248e2c13c4e121176895880d95e (diff)
downloadvyos-documentation-67341f4d68e25f7c31d8b9a63263f4ee993d9ca1.tar.gz
vyos-documentation-67341f4d68e25f7c31d8b9a63263f4ee993d9ca1.zip
T7382: adds container log driver option (#1625)HEADcurrent
-rw-r--r--docs/configuration/container/index.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/configuration/container/index.rst b/docs/configuration/container/index.rst
index 5882f6db..8d5ca3de 100644
--- a/docs/configuration/container/index.rst
+++ b/docs/configuration/container/index.rst
@@ -282,6 +282,20 @@ Container Registry
set container registry 192.168.1.1:8080 insecure
+Log Configuration
+====================
+
+.. cfgcmd:: set container log-driver [k8s-file | journald]
+
+ 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
+
+ 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.
+
+
******************
Operation Commands
******************