Skip to content

T7382: adds container log driver option #1625

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

Merged
merged 1 commit into from
Apr 29, 2025
Merged
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
14 changes: 14 additions & 0 deletions docs/configuration/container/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
******************
Expand Down