Skip to content

Container: T7473: update document for the log-driver #1639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: current
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/configuration/container/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.


******************
Expand Down