From 1c8de504b19c0019ed9c95800852a6c18dba7b76 Mon Sep 17 00:00:00 2001 From: natsuki-hoshino Date: Mon, 29 Jan 2024 07:46:08 +0000 Subject: [PATCH] add documentation for logfile configuration --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 931ad0b..e411431 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ These options can be used when starting the `postfix_exporter` | `--web.telemetry-path` | Path under which to expose metrics | `/metrics` | | `--postfix.showq_path` | Path at which Postfix places its showq socket | `/var/spool/postfix/public/showq` | | `--postfix.logfile_path` | Path where Postfix writes log entries | `/var/log/mail.log` | +| `--postfix.logfile_must_exist` | Fail if the log file doesn't exist. | `true` | +| `--postfix.logfile_debug` | Enable debug logging for the log file. | `false` | | `--log.unsupported` | Log all unsupported lines | `false` | | `--docker.enable` | Read from the Docker logs instead of a file | `false` | | `--docker.container.id` | The container to read Docker logs from | `postfix` |