From d03d270607b13cc6913361091916a2266857382e Mon Sep 17 00:00:00 2001 From: Per Abich Date: Wed, 26 Feb 2020 11:36:35 +0100 Subject: [PATCH] #14: Removed leftover info about truncating the logfile. Also changed thhe default to maillog since that is the normal file postfix uses. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b3424d9..2eaa9fc 100644 --- a/main.go +++ b/main.go @@ -17,7 +17,7 @@ func main() { listenAddress = app.Flag("web.listen-address", "Address to listen on for web interface and telemetry.").Default(":9154").String() metricsPath = app.Flag("web.telemetry-path", "Path under which to expose metrics.").Default("/metrics").String() postfixShowqPath = app.Flag("postfix.showq_path", "Path at which Postfix places its showq socket.").Default("/var/spool/postfix/public/showq").String() - postfixLogfilePath = app.Flag("postfix.logfile_path", "Path where Postfix writes log entries. This file will be truncated by this exporter.").Default("/var/log/postfix_exporter_input.log").String() + postfixLogfilePath = app.Flag("postfix.logfile_path", "Path where Postfix writes log entries.").Default("/var/log/maillog").String() logUnsupportedLines = app.Flag("log.unsupported", "Log all unsupported lines.").Bool() systemdEnable bool systemdUnit, systemdSlice, systemdJournalPath string