Commit Graph

5 Commits

Author SHA1 Message Date
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