On Thu, Aug 23, 2018 at 03:04:08PM +0200, Niels Hofmans wrote:
> In order to keep my container applications to a minimum, i'm trying to slim
> them down.
> One part of this is removing all unnecessary components.
>
> I am running Postfix 3.3.1 on Alpine Linux 3.8 in Docker.
> Is there some way to get postfix (with start-fg) to log to the console
> -without- having a syslog-ng running?
> I see it requires /dev/log
It is a unix-domain socket (make sure it is "dgram" and not a
"stream" socket). So it can't be /dev/stdout.
> Any help is appreciated.
It should be possible to run a single syslog listener outside the
container that listens on log sockets inside each container that
needs syslog. Logging to stdout/stderr in Postfix daemon processes
is not presently supported.
--
Viktor.