On Fri, Feb 04, 2022 at 02:06:02PM +0000, Laurent Bercot
<ska-supervis...@skarnet.org> wrote:

>  Hi Vallo,
> 
>  That's the difference between '!zstd -q' and '!zstd' -q ;)
> 
>  When -q isn't a part of your processor command, but a part of the
> s6-log command line, it is interpreted as a selection directive,
> and will filter anything that contains a 'q' character.

Yes, that part I noticed, but it didn't occur to me that that lone '-q'
was taken as selector... Well, I feel dumb as a doorbell :)
It's been a while since I last touched s6.

The reason for lone '-q' was that I seem unable to give '!zstd -q' as
one argument in the rsyslogd omprog module configuration:
action(type="omprog" binary="/usr/bin/env - /usr/bin/s6-log -q n30 s10000000 
!zstd -q /var/log/test" template="...)

Why? https://github.com/systemd/systemd/pull/21183#issuecomment-959799146
Compressed=yes and all, oh well...

-- 
Vallo

Reply via email to