Hi,
I'm running s6 2.1.1.1.
Adapting one of the examples for s6-log:
echo -e "fatal:\nSTAT" | s6-log n30 E500 - +fatal: 2 - +^STAT =./status
Only "STAT" is written to ./status; nothing is written to stderr.
echo -e "fatal:\nSTAT" | s6-log n30 E500 - +fatal: 2
With only the single action, "s6-log: alert: fatal:" is written to
stderr
as expected.
--
Patrick Mahoney <pat_at_polycrystal.org>
Received on Tue Feb 24 2015 - 18:08:35 UTC