From unknown Sun Jun 15 08:48:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56780: rottlog ignores the subdir structure Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 26 Jul 2022 11:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56780 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 56780@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Reply-To: Attila Lendvai Received: via spool by submit@debbugs.gnu.org id=B.165883340918455 (code B ref -1); Tue, 26 Jul 2022 11:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jul 2022 11:03:29 +0000 Received: from localhost ([127.0.0.1]:52351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGILY-0004nb-UL for submit@debbugs.gnu.org; Tue, 26 Jul 2022 07:03:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:55550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGILU-0004nM-65 for submit@debbugs.gnu.org; Tue, 26 Jul 2022 07:03:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGILP-00089P-UU for bug-guix@gnu.org; Tue, 26 Jul 2022 07:03:23 -0400 Received: from mail-0301.mail-europe.com ([188.165.51.139]:33560) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGILL-0007h5-Vc for bug-guix@gnu.org; Tue, 26 Jul 2022 07:03:19 -0400 Date: Tue, 26 Jul 2022 11:02:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail; t=1658833381; x=1659092581; bh=Y6XV09YjNJHYnqg4+94MFBg7Li0DWQv+GanDHJGe87U=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=X1d+8ran7AGs/aiftSt0GFSNbcHkzN2Q614yTeP9X/iyex2ht1c7FW4tTE5NVuMxy +ctC/fDLFi+vvLpLamuNsdgBzLsCiqwH0TijL9XVwVNI8fP7i5DRU/jzMKjaDFzbW5 fPL+F1hups6hV8yZZ7KBIq484CSsKU7p2GG9FR7uHjWy3RhbjTFtNTMuxqSGTcyYR0 g5Bcee/Qpv16fwsNkhgGeQZxNOkpthkTGMQHDwRG5/YailG90HKxRF69iPtl2pLxP1 Fo+JOkpPXlonk6VRKT3GXlbtJQR+wpGBHqARXC46HrwjMYaihB4OLZGXU3NJX2NSRC IfFhWUqxkJpWA== From: Attila Lendvai Message-ID: Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=188.165.51.139; envelope-from=attila@lendvai.name; helo=mail-0301.mail-europe.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) my service puts its log files into subdirs under /var/log/myservice/some-co= nfig/logfile. i set up some rottlog-service-type and rottlog-configuration to rotate thes= e log files, and to my surprise rottlog puts them under /var/log (ignoring = the subdir structure). is this a feature or a bug? if the former, could we change the default to p= ut the rotated files into the same directory as the files being rotated? -- =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CA political situation is the manifestation of a parallel psycholog= ical problem in millions of individuals. This problem is largely unconsciou= s (which makes it a particularly dangerous one!)=E2=80=9D =09=E2=80=94 Carl Jung (1875=E2=80=931961), Letters, vol.1 pg. 535