> If you read your logs from a fifo, then it's easy: use the
> integrated pipe mechanism in s6-svscan. Your "logging service",
> say foo-log, would read from the fifo and prepend the lines
> with a tag, then pipe its data to the foo-log/log service
> (a "logger for your logging service") which would perform the
> logging per se.
Ah yes, that is easy.. I totally overlooked that the 'logging service'
can have
its own log service, thanks!
> I hope to be able to work on a new s6-overlay format next
> year, using s6-rc, which makes those "log pipelines" easy to
> set up.
Nice, curious to see how that turns out.
--
Robin Roestenburg
Received on Wed Sep 21 2016 - 12:39:24 UTC