supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Vallo Kallaste <kalts@estpak.ee>
To: supervision@list.skarnet.org
Subject: Re: s6-log weirdness
Date: Fri, 4 Feb 2022 17:25:19 +0200	[thread overview]
Message-ID: <Yf1FX/ce9O4CzmbG@kevad.local> (raw)
In-Reply-To: <emc4984143-4e87-4ec0-9cf9-babd6ecc4e4a@elzian>

On Fri, Feb 04, 2022 at 02:06:02PM +0000, Laurent Bercot
<ska-supervision@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	other threads:[~2022-02-04 15:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-04 12:48 Vallo Kallaste
2022-02-04 14:06 ` Laurent Bercot
2022-02-04 15:25   ` Vallo Kallaste [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yf1FX/ce9O4CzmbG@kevad.local \
    --to=kalts@estpak.ee \
    --cc=supervision@list.skarnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).