3 ms·
> Is that still true today? I think it is. > Docker wants you to log to stdout, so that's what most newer applications do. According to Debian popularity con
by defanor 7y ago
> Is that still true today?
I think it is.
> Docker wants you to log to stdout, so that's what most newer applications do.
According to Debian popularity contest [1], which matches my observations, Docker itself isn't a particularly common package to be found in a system.
> systemd also wants you to log to stdout
While that's an option, there is sd-journal(3), which allows proper logging with priorities and custom fields.
[1] https://popcon.debian.org/by_inst https://popcon.debian.org/by_inst
Edit: Perhaps worth mentioning that even with systemd and logging into stdout, syslogd (and maybe journald) configuration should be sufficient to sort out the log files, as mentioned in the grandparent comment.