Re: new s6-log

From: Laurent Bercot <>
Date: Tue, 10 Feb 2015 16:23:46 +0100

On 10/02/2015 01:25, Olivier Brunel wrote:
> Quick question though, in case I missed something obvious: what did you
> have in mind when you said: "[keeping the fd open is] easy to do if
> you're supervising the auxiliary logger" ?

  Ah, my bad. I was thinking about s6-svscan keeping the log pipe open -
but since s6-log is already a logger, you can't do that. Looks like
there's a case for nosh's ability to supervise whole pipelines instead
of just two services joined by a pipe. I may think about it if there's
demand, but that won't be a priority - especially since it would require
modifying s6-svscan. :)

> In my case I'm using a fifo (between s6-logs & the auxiliary logger), so
> I just open it and store it to a fdholderd prior, and the auxiliary
> logger retrieves it on start. Is there another/a better way to do this?

  I was wondering if you couldn't keep the fds open in another program,
but no, if s6-svscan isn't doing it, you have to use an ad-hoc long-lived
process to hold them, and that's exactly what s6-fdholderd is for - so
for now, I think your way is pretty much optimal.

Received on Tue Feb 10 2015 - 15:23:46 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC