From 1772d6700d1f71539595f0b93c1c27c897430599 Mon Sep 17 00:00:00 2001 From: opswill Date: Thu, 26 Jun 2025 17:10:58 +0800 Subject: Container: T7473: update document for the log-driver (#1639) --- docs/configuration/container/index.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/configuration/container') 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 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. ****************** -- cgit v1.2.3