aboutsummaryrefslogtreecommitdiff
path: root/docs/source/markdown/options
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-29 17:35:40 +0200
committerGitHub <noreply@github.com>2022-09-29 17:35:40 +0200
commit00f0bb516cf2fb26917307d1639edb20e92e5363 (patch)
tree5242b0fb59ffa663bb3153e56660a2d4d121ae5a /docs/source/markdown/options
parent4c39b391036c8383825b76ad0e2edf1efb53b4da (diff)
parent309f4fb543f47905c79261c19ca197b4a226abe4 (diff)
downloadpodman-00f0bb516cf2fb26917307d1639edb20e92e5363.tar.gz
podman-00f0bb516cf2fb26917307d1639edb20e92e5363.tar.bz2
podman-00f0bb516cf2fb26917307d1639edb20e92e5363.zip
Merge pull request #15996 from edsantiago/docs_dedup_log-opt
[CI:DOCS] Man pages: refactor common options: --log-opt
Diffstat (limited to 'docs/source/markdown/options')
-rw-r--r--docs/source/markdown/options/log-opt.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/source/markdown/options/log-opt.md b/docs/source/markdown/options/log-opt.md
new file mode 100644
index 000000000..4eafc1fb0
--- /dev/null
+++ b/docs/source/markdown/options/log-opt.md
@@ -0,0 +1,16 @@
+#### **--log-opt**=*name=value*
+
+Logging driver specific options.
+
+Set custom logging configuration. The following *name*s are supported:
+
+**path**: specify a path to the log file
+ (e.g. **--log-opt path=/var/log/container/mycontainer.json**);
+
+**max-size**: specify a max size of the log file
+ (e.g. **--log-opt max-size=10mb**);
+
+**tag**: specify a custom log tag for the container
+ (e.g. **--log-opt tag="{{.ImageName}}"**.
+It supports the same keys as **podman inspect --format**.
+This option is currently supported only by the **journald** log driver.