From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29189 invoked from network); 4 Feb 2022 15:25:26 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 4 Feb 2022 15:25:26 -0000 Received: (qmail 1427 invoked by uid 89); 4 Feb 2022 15:25:51 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 1420 invoked from network); 4 Feb 2022 15:25:51 -0000 X-Virus-Scanned: Debian amavisd-new at vm-relay5.estpak.ee X-SMTP-Auth-NETI-Businessmail: no Date: Fri, 4 Feb 2022 17:25:19 +0200 From: Vallo Kallaste To: supervision@list.skarnet.org Subject: Re: s6-log weirdness Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Fri, Feb 04, 2022 at 02:06:02PM +0000, Laurent Bercot 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