Skip to content

Commit 67341f4

Browse files
authored
T7382: adds container log driver option (#1625)
1 parent 51a81fd commit 67341f4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/configuration/container/index.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,20 @@ Container Registry
282282
set container registry 192.168.1.1:8080 insecure
283283
284284
285+
Log Configuration
286+
====================
287+
288+
.. cfgcmd:: set container log-driver [k8s-file | journald]
289+
290+
Set the default log driver for containers.
291+
292+
- **k8s-file**: Logs to a plain text new line deliminated json file
293+
- **journald**: Logs to the systems journal
294+
295+
Current default is k8s-file. Using journald will result in the logs
296+
not showing up in the container log operation command but the global log command.
297+
298+
285299
******************
286300
Operation Commands
287301
******************

0 commit comments

Comments
 (0)