File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.1.3 / 2021-05-02
2
+
3
+ * [ BUGFIX] Fix default for mail log path (/var/log/mail.log)
4
+
1
5
## 0.1.2 / 2018-05-04
2
6
3
7
* [ ENHANCEMENT] Build tag for systemd
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ These options can be used when starting the `postfix_exporter`
16
16
| ` --web.listen-address ` | Address to listen on for web interface and telemetry | ` 9154 ` |
17
17
| ` --web.telemetry-path ` | Path under which to expose metrics | ` /metrics ` |
18
18
| ` --postfix.showq_path ` | Path at which Postfix places its showq socket | ` /var/spool/postfix/public/showq ` |
19
- | ` --postfix.logfile_path ` | Path where Postfix writes log entries | ` /var/log/maillog ` |
19
+ | ` --postfix.logfile_path ` | Path where Postfix writes log entries | ` /var/log/mail.log ` |
20
20
| ` --log.unsupported ` | Log all unsupported lines | ` false ` |
21
21
| ` --docker.enable ` | Read from the Docker logs instead of a file | ` false ` |
22
22
| ` --docker.container.id ` | The container to read Docker logs from | ` postfix ` |
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ type fileLogSourceFactory struct {
66
66
}
67
67
68
68
func (f * fileLogSourceFactory ) Init (app * kingpin.Application ) {
69
- app .Flag ("postfix.logfile_path" , "Path where Postfix writes log entries." ).Default ("/var/log/maillog " ).StringVar (& f .path )
69
+ app .Flag ("postfix.logfile_path" , "Path where Postfix writes log entries." ).Default ("/var/log/mail.log " ).StringVar (& f .path )
70
70
}
71
71
72
72
func (f * fileLogSourceFactory ) New (ctx context.Context ) (LogSourceCloser , error ) {
You can’t perform that action at this time.
0 commit comments