>So an intermediate reader appears to be a sound workaround. Does anyone
>have a better solution than
>
>ErrorLog “|'execlineb –Pc fdmove 1 0 s6-fdholder-retrieve
>/s/live/servicedirs/s6rc-fdholder/s ‘pipe:s6rc-w-final-logger’ fdswap 0
>1 sh -c "read X; echo ${X}"
1. "cat" should work instead of your shell excerpt, shouldn't it?
Isn't it supposed to flush on every line?
2. Instead of spawning a separate process for each ErrorLog, it
should be possible to create a fifo, and declare that fifo as your
ErrorLog file. Every httpd would then write into the fifo, and you
would have a single s6-log reading from it.
--
Laurent
Received on Fri May 17 2019 - 09:08:10 UTC