From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GNTmJzpDS2S7MgAASxT56A (envelope-from ) for ; Fri, 28 Apr 2023 05:53:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id COjxJzpDS2RlQgEA9RJhRA (envelope-from ) for ; Fri, 28 Apr 2023 05:53:30 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.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 3A403B915 for ; Fri, 28 Apr 2023 05:53:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psFAT-0006Xt-05; Thu, 27 Apr 2023 23:53:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1psFAN-0006XX-22 for bug-guix@gnu.org; Thu, 27 Apr 2023 23:53:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1psFAM-0008KG-Pb for bug-guix@gnu.org; Thu, 27 Apr 2023 23:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1psFAM-0002zo-Ap for bug-guix@gnu.org; Thu, 27 Apr 2023 23:53:02 -0400 Subject: bug#62163: Suppress logging shepherd evaluation in mcron.log Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 28 Apr 2023 03:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 62163 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Bruno Victal Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 62163-done@debbugs.gnu.org Mail-Followup-To: 62163@debbugs.gnu.org, maxim.cournoyer@gmail.com, mirai@makinata.eu Received: via spool by 62163-done@debbugs.gnu.org id=D62163.168265398011505 (code D ref 62163); Fri, 28 Apr 2023 03:53:02 +0000 Received: (at 62163-done) by debbugs.gnu.org; 28 Apr 2023 03:53:00 +0000 Received: from localhost ([127.0.0.1]:60203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psFAK-0002zV-Bb for submit@debbugs.gnu.org; Thu, 27 Apr 2023 23:53:00 -0400 Received: from mail-qk1-f182.google.com ([209.85.222.182]:62535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psFAF-0002zA-NZ for 62163-done@debbugs.gnu.org; Thu, 27 Apr 2023 23:52:58 -0400 Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-751319e0dbfso493826285a.0 for <62163-done@debbugs.gnu.org>; Thu, 27 Apr 2023 20:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682653969; x=1685245969; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=nu0CK8Hypk2tRc14ymUPbQ/klAu2jsfUt353HBUKVU4=; b=R1XJHOMuk6Jj8AhQTvOWsNwyY1QJ50HGyFSPA0d35ObaP8wJ9+GQ7gLAh8q05q/xtK 68O4LcgJ+CvROo7L54cY8XZxj8knHeMBY3WTM/zON5wYY+hPpxyMkAxAl17y45CmdtBz 97+Ek7OMCgBlCm+SCRS6bEbB2K6Vl8sQuWpeBGK6OSGs8ZbPCq5OYmmaBSyzIvBaq7Do uqxpKHTObMUiHTQ3jTWg8VDrCdSR9SkycUn39DVWGF99QV+zko7Aa1NIGTAqcDAikYFP 95lBkdQ1TkrQib7dCIrii9SJsgbJ/GKIF2WA7j7jdegFC7ldJ8xbI/pIlUV8B1vBpuqV vdCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682653969; x=1685245969; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=nu0CK8Hypk2tRc14ymUPbQ/klAu2jsfUt353HBUKVU4=; b=W4eoNo3FMPuOH2unjERsvGhFszCtuZBBTMUBW0thsU/tWagOxMwELvQtZqGs3dP7J9 W1RNwWARkQHsoAPUohdbnA3FYwVgemgXQmtf355sVbjrd8wIhS/263J3PmQkgdhftpxz cWuAm1ZbWRydty4c/rOUi7fZTOA2ub5oQAqIV3JSMp8JrYVGrmhx55gp5kLy8PO2ZhcV 4T4zxfNWwcznDJ2ELNPyscs1QO/fELuZoC05Ctf83yTAHt75xUqDI4/6V2wxHygSpWMd trInHLx1AwgZMpm1qZ2q3r1XXeqYKcMhZFFkF6cfziJvUQTK0MIA7le1qrvKr02UE8U+ GVew== X-Gm-Message-State: AC+VfDz29ro2vRGq2iHyM6mgGP4zCITDcya4KK7Cus3n7TpCaI6MKKU4 CkTSO0WOhSK4qk3OD7z0lMUeJZOlui0= X-Google-Smtp-Source: ACHHUZ7VkEWjxzqqPvJs0ntG50E/Z8K0I2F0LDn5pDgqeK3sgwzxLccRujHxj156YSYm/S4oyjSJxg== X-Received: by 2002:ac8:5c85:0:b0:3e8:e986:b20a with SMTP id r5-20020ac85c85000000b003e8e986b20amr14108056qta.16.1682653969550; Thu, 27 Apr 2023 20:52:49 -0700 (PDT) Received: from hurd ([2607:fad8:4:3::1000]) by smtp.gmail.com with ESMTPSA id 75-20020a370b4e000000b0074df3f7e14esm6489560qkl.67.2023.04.27.20.52.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Apr 2023 20:52:48 -0700 (PDT) From: Maxim Cournoyer References: <31d1f072-0276-6fa5-0adf-6c18177d4d01@makinata.eu> <87ileq1gqo.fsf@gmail.com> <875yakg7w2.fsf@gnu.org> <8164fa63-99bd-f1d5-2f21-628f079c6039@makinata.eu> <87y1neo7wz.fsf@gnu.org> <87355kinc5.fsf@gnu.org> <87bkj9wj9f.fsf@gnu.org> <51acd0d5-ba5b-8b20-c038-1416fa6ea66b@makinata.eu> Date: Thu, 27 Apr 2023 23:52:47 -0400 In-Reply-To: <51acd0d5-ba5b-8b20-c038-1416fa6ea66b@makinata.eu> (Bruno Victal's message of "Thu, 27 Apr 2023 17:12:49 +0100") Message-ID: <877ctw64ts.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682654010; a=rsa-sha256; cv=none; b=G7Sv2ld6qSxZ0OWJQsixivGbvy/Iql9LHTB33rZGqiFOH2gMjT3AqxVqhrsApDy6GlRqN3 hn7snGGkurBkmyy7xkhd8gSEo/pXHOcRWak11FoeMegUmveEESqJS5KI6DL85Xc8SoaNgQ wLg40e7NMvJh1KIMVyCtoaWX0ulMt/7DhMcl6K+h1GYjHCK8hCZ21+YD8vwSuzZ337PVuI FzC5ARtiPa1tk5tnHS9ODgKBQsav0EkIxIH8LLPB9x94ex4sUr/shiI9wLt3ewmGhW9vXi x1R+Oj6yrWzoyj/aD8t0+zEwtLLiR83JtWz6fYprHaHXDHb5LcvoL997iGCZzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=R1XJHOMu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682654010; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=nu0CK8Hypk2tRc14ymUPbQ/klAu2jsfUt353HBUKVU4=; b=M/0Tb+gE4RhmV0shkSDDTSGGMnTLoeugU7DobZZes/Fs0lBsAMJzxBt1Z1bSeDTXMjrO8P b2dXh4Eh0Bi7edA8Z67mVpwN58/cM99yNHs4Uq3q8gcz3piujg5iSiU5Y8r9QvktAK7181 7az4kW7Gc/4MMBL3ARh0/VOsAxUMCk+0g+798Khihkh5/kFAwKeQsmqFItaXM1bZT656H+ yv1+vG9+Pg7VSDUlI6QWKo+wgf0yghLNvJ/BtcBuPLNurJ6HP+Pd7J1chgV6oE3mjxKtr/ aLoCVoa57J6sKO6AftIWEQ50vAXepqHN36gBIPeJH6vqcEetSFckmf36SMW4Ig== X-Migadu-Spam-Score: -1.90 X-Spam-Score: -1.90 X-Migadu-Queue-Id: 3A403B915 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=R1XJHOMu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-TUID: uinEhgdgDMIX Hello, Bruno Victal writes: > Hi Ludo=E2=80=99, > > On 2023-04-27 14:24, Ludovic Court=C3=A8s wrote: >> Hi Bruno, >>=20 >> Ludovic Court=C3=A8s skribis: >>=20 >>> Bruno Victal skribis: >>> >>>> On 2023-03-30 11:22, Ludovic Court=C3=A8s wrote: >>>>> >>>>> You can send messages to the bitbucket with: >>>>> >>>>> (parameterize ((shepherd-message-port (%make-void-port "w0"))) >>>>> =E2=80=A6) >>>> >>>> While it does work for expunging them from mcron log, I noticed that >>>> these lines are also polluting /var/log/messages and the snippet above >>>> doesn't handle that. >>>> Is there perhaps something else I'm missing? >>> >>> Nope, you cannot prevent them from ending up in /var/log/messages; they >>> are purposefully logged. > > Perhaps we could have a =E2=80=9Clow-noise=E2=80=9D way to query for runn= ing services? (or non modifying actions done on shepherd) > Filling /var/log/messages with messages of (IMO) dubious value seems coun= terproductive. > >> What should we do about this bug? Am I right that the conclusion is >> that =E2=80=98my-heartbeat-job=E2=80=99 could send herd/shepherd output = to the bit >> bucket? If yes, we can close this bug. > > Parameterizing the shepherd-message-port did cut the shepherd messages fr= om the mcron log, yes. Alright, closing then. What a team :-). --=20 Thanks, Maxim