From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eEcvB1E2qV4CSwAA0tVLHw (envelope-from ) for ; Wed, 29 Apr 2020 08:09:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WPVqC1k2qV4fKQAAB5/wlQ (envelope-from ) for ; Wed, 29 Apr 2020 08:10:01 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7DBD9940605 for ; Wed, 29 Apr 2020 08:10:00 +0000 (UTC) Received: from localhost ([::1]:58708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jThn6-00089G-Bv for larch@yhetil.org; Wed, 29 Apr 2020 04:10:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48970) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jThQv-0006Fo-W8 for bug-guix@gnu.org; Wed, 29 Apr 2020 03:51:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jThOw-00083D-BY for bug-guix@gnu.org; Wed, 29 Apr 2020 03:47:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jThOv-00082e-Qd for bug-guix@gnu.org; Wed, 29 Apr 2020 03:45:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jThOv-0003aG-NW for bug-guix@gnu.org; Wed, 29 Apr 2020 03:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#40945: [bug #40945] Rottlog service should create filenames with a '.gz' extension References: <20200428173653.GA27488@jasmine.lan> In-Reply-To: <20200428173653.GA27488@jasmine.lan> Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 29 Apr 2020 07:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40945 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: leo@famulari.name Received: via spool by 40945-submit@debbugs.gnu.org id=B40945.158814624313688 (code B ref 40945); Wed, 29 Apr 2020 07:45:01 +0000 Received: (at 40945) by debbugs.gnu.org; 29 Apr 2020 07:44:03 +0000 Received: from localhost ([127.0.0.1]:42264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jThNz-0003Yi-0X for submit@debbugs.gnu.org; Wed, 29 Apr 2020 03:44:03 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:40033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jThNw-0003Y5-4I for 40945@debbugs.gnu.org; Wed, 29 Apr 2020 03:44:01 -0400 Received: from webmail.gandi.net (webmail18.sd4.0x35.net [10.200.201.18]) (Authenticated sender: brice@waegenei.re) by relay5-d.mail.gandi.net (Postfix) with ESMTPA id 2D4401C0006; Wed, 29 Apr 2020 07:43:52 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 29 Apr 2020 07:43:52 +0000 From: Brice Waegeneire Message-ID: X-Sender: brice@waegenei.re User-Agent: Roundcube Webmail/1.3.8 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 40945@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: -1.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [-1.01 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49330093904765]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.18), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[brice@waegenei.re,bug-guix-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[gnu.org:url,guix.info:url]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[waegenei.re]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: ByXUn1eDVu0g Hello Leo, In /etc/rottlog/rc the line “extension="gz"” has for only effect to expand the meta-variable “@COMP_EXT”[0] which isn't used by default. For it to be appended to every rotated log file we need to add the line “storefile @FILENAME.@COMP_EXT” to /etc/rottlog/weekly, which specify the filename for the rotated log file[1][2]. At least that's what I understand after skimming through the documentation, I have send a patch[3] but it's untested. [0]: https://www.gnu.org/software/rottlog/manual/rottlog.html#Mandatory-RC-Variables [1]: https://www.gnu.org/software/rottlog/manual/rottlog.html#Use-of-meta_002dvariables [2]: https://www.gnu.org/software/rottlog/manual/rottlog.html#Configuration-parameters [3]: https://issues.guix.info/issue/40953 Cheers, - Brice