Commit Graph

6 Commits

Author SHA1 Message Date
Dustin Hooten
cbc36a39cc Upgrade golang to 1.16 2021-08-31 12:58:35 -06:00
Piotr Popieluch
6039f0781e
Update tail from hpcloud/tail to nxadm/tail
Currently it does not always detect rotated logfiles. There are many issues in hpcloud/tail which are not addressed, hpcloud/tail looks dead. nxadm/tail is a fork which solved many known issues.
2021-05-12 11:36:22 +02:00
Tommie Gannert
f1d5d0ad4d
Adds a Docker log source.
When Postfix is running in a Docker container, it's most useful to use
the built-in Docker logging (as with Systemd). Setting
`--docker.enable` allows that.

The log source is using `client.NewEnvClient`, which reads environment
variables to determine which Docker to connect to, and how TLS is
handled.
2021-03-16 15:37:29 +01:00
Bart Vercoulen
1edadd0857
Revert "Adds a Docker log source." 2021-03-16 15:19:10 +01:00
Tommie Gannert
c588b342a0 Adds a Docker log source.
When Postfix is running in a Docker container, it's most useful to use
the built-in Docker logging (as with Systemd). Setting
`--docker.enable` allows that.

The log source is using `client.NewEnvClient`, which reads environment
variables to determine which Docker to connect to, and how TLS is
handled.
2020-07-02 10:22:01 +02:00
Per Abich
30711892c6 added go.sum 2020-02-19 18:11:52 +01:00