Commit graph

8 commits

Author SHA1 Message Date
Bart Vercoulen
5a8f14691e
Merge pull request #77 from ylecuyer/fix-mail-log-default-yle
Fix: Default for mail log path
2021-08-17 10:00:04 +02: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
Yoann Lecuyer
ec57499cf9 Fix: Default for mail log path 2021-05-02 23:01:50 +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
Tommie Gannert
82fa993361
Splits the log source handling with a pluggable interface.
Provides a cleaner split between log sources, specifically for not
compiling with systemd libraries.

This is in preparation for a new log source to read from Docker.
2021-03-16 15:36:56 +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
Tommie Gannert
1451d25af5 Splits the log source handling with a pluggable interface.
Provides a cleaner split between log sources, specifically for not
compiling with systemd libraries.

This is in preparation for a new log source to read from Docker.
2020-07-02 10:21:25 +02:00