>While that would make s6-log nicer to integrate with s6-rc, I still
>think that the current behavior of potentially blocking SIGTERM forever
>is undesirable, so some kind of timeout in s6-log could still be a good
>idea.
That's why I was suggesting a timeout. And since logging a partial line
as a complete line is always strictly better than dropping the partial
line, once you have the timeout feature, you don't need anything else:
set the timeout to 1 ms if you want to exit immediately even with
partial lines.
--
Laurent
Received on Fri May 26 2023 - 16:26:43 CEST