From eac08191ca05deccc83f3df1b2998d1cf169e726 Mon Sep 17 00:00:00 2001 From: Nicolas Vollmar Date: Mon, 21 Apr 2025 11:25:32 +0200 Subject: [PATCH] T7382: adds container log driver option --- docs/configuration/container/index.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/configuration/container/index.rst b/docs/configuration/container/index.rst index 5882f6db5d..8d5ca3deb8 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 ******************