On Wed, Apr 13, 2016 at 2:43 PM, Samuel Williams <
space.ship.travel...@gmail.com> wrote:

> I guess what I'm proposing is not a specific workaround but a way for
> legacy software which can only log to a file to get it's data into
> journald. There is plenty of software like that, unfortunately. It's a
> pragmatic option.
>
> In this specific case, I'm referring to Nginx in daemon mode, which closes
> /dev/stderr as far as I can tell, and then spawns passenger, which can only
> log to a file. There is no way to hook up passenger to /dev/stderr.
>
> The proposed service allows anyone to set up a fifo for logging in this
> situation, it's very trivial and easy to set up, but I suspect there is
> more than just one person with this issue.
>

If you're going to run a service anyway, could you use e.g. rsyslog's
imfile → omjournal modules?

-- 
Mantas Mikulėnas <graw...@gmail.com>
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to