s6-log 2.1.1.1 selection directives

From: Patrick Mahoney <pat_at_polycrystal.org>
Date: Tue, 24 Feb 2015 12:08:35 -0600

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

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