Re: Logging in a web server context

From: Carl Winbäck <>
Date: Sat, 13 Jun 2020 14:40:38 +0200

On Sat, 13 Jun 2020 at 13:59, Casper Ti. Vector <> wrote:
> > I gather from it that what I want is currently not possible without
> > s6-rc. Is that correct?
> I do not think so :) In a nutshell, your service needs to connect its
> stdout and stderr to a pair of different loggers; that can be done by
> fd-holding and chainloading, and is how s6-rc internally implements its
> piping (well, funneling) mechanism. However, s6-rc only connects the
> stdout, so the fd-holder needs an amount of additional configuration
> whether you use s6-rc or not; that amount will be a bit big without
> s6-rc, but it is surely doable and even scriptable.

Aha! Implementing such a mechanism (outside of s6-rc) could be an
interesting exercise.

However, I believe that the proposals Jan posted would be sufficient
for my needs.
Received on Sat Jun 13 2020 - 12:40:38 UTC

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