mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 01:31:44 +02:00
Container: T7473: update document for the log-driver (#1639)
This commit is contained in:
parent
2b0d8189cd
commit
1772d6700d
@ -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.
|
||||
|
||||
|
||||
******************
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user