mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
man: dockerd: add description for --log-format option
This option was added ina08abec9f8, as part of Docker v25.0, but did not update the docs and manpage. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit45a9dde660) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -52,6 +52,7 @@ dockerd - Enable daemon mode
|
||||
[**--label**[=*[]*]]
|
||||
[**--live-restore**[=**false**]]
|
||||
[**--log-driver**[=*json-file*]]
|
||||
[**--log-format**="*text*|*json*"]
|
||||
[**--log-opt**[=*map[]*]]
|
||||
[**--mtu**[=*0*]]
|
||||
[**--max-concurrent-downloads**[=*3*]]
|
||||
@@ -324,6 +325,9 @@ unix://[/path/to/socket] to use.
|
||||
Default driver for container logs. Default is **json-file**.
|
||||
**Warning**: **docker logs** command works only for **json-file** logging driver.
|
||||
|
||||
**--log-format**="*text*|*json*"
|
||||
Set the format for logs produced by the daemon. Default is "text".
|
||||
|
||||
**--log-opt**=[]
|
||||
Logging driver specific options.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user