From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gdozLdS0SmTYoAAASxT56A (envelope-from ) for ; Thu, 27 Apr 2023 19:45:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CH8pLNS0SmSvhAAAauVa8A (envelope-from ) for ; Thu, 27 Apr 2023 19:45:56 +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 6B7D22FB29 for ; Thu, 27 Apr 2023 19:45:56 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ps4Fz-0006jo-1d; Thu, 27 Apr 2023 12:14:07 -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 1ps4Fu-0006jc-VS for bug-guix@gnu.org; Thu, 27 Apr 2023 12:14:02 -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 1ps4Ft-0002Jc-O8 for bug-guix@gnu.org; Thu, 27 Apr 2023 12:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ps4Ft-0002X2-Jr for bug-guix@gnu.org; Thu, 27 Apr 2023 12:14:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62163: Suppress logging shepherd evaluation in mcron.log Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 27 Apr 2023 16:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62163 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 62163@debbugs.gnu.org, Maxim Cournoyer Received: via spool by 62163-submit@debbugs.gnu.org id=B62163.16826119889656 (code B ref 62163); Thu, 27 Apr 2023 16:14:01 +0000 Received: (at 62163) by debbugs.gnu.org; 27 Apr 2023 16:13:08 +0000 Received: from localhost ([127.0.0.1]:59618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ps4Ez-0002Vc-Hy for submit@debbugs.gnu.org; Thu, 27 Apr 2023 12:13:08 -0400 Received: from smtpm4.myservices.hosting ([185.26.105.235]:35362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ps4Ev-0002Un-44 for 62163@debbugs.gnu.org; Thu, 27 Apr 2023 12:13:04 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm4.myservices.hosting (Postfix) with ESMTP id A090720C96; Thu, 27 Apr 2023 18:12:59 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 45AB8800C5; Thu, 27 Apr 2023 18:12:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PP28oUWy87hl; Thu, 27 Apr 2023 18:12:55 +0200 (CEST) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 194E2800C8; Thu, 27 Apr 2023 18:12:50 +0200 (CEST) Message-ID: <51acd0d5-ba5b-8b20-c038-1416fa6ea66b@makinata.eu> Date: Thu, 27 Apr 2023 17:12:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: en-US 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> From: Bruno Victal In-Reply-To: <87bkj9wj9f.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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=1682617556; a=rsa-sha256; cv=none; b=mp/7f9DHEBqmQBkUsQIldMOSuM/af6HsHJjrRBie23Lj8iE+HM/LlQk+fdVs4CwTgwHrct U/mX3RdRjbRFnKXMofYmWgEQfhcb22Y3Vom0tqBOOSJjLYEKciyfzfhjyaMa5dnR6SAqiy YhKEZD2aeyQCQzt6S6vLJ9XsX3azgYh0P9YKc0nkQeovcD1kLSmaC3Gxjp4KvReiB2epz3 fMhzZ5p6hOCgpk2j4DLzZ8/sN75tWepcwRdqKHMBmkKIu5RMzN8nN3zzqCDWM+eK9eGP+y xjrjiXdMLv15Hvi6v5USTLZ356XVPekHQBYsjAQoqv93HGdT72WDfKFALpcmqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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=1682617556; 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-cc: 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; bh=t9VMyTv7Kt4qDg+2oOmqYT0b5aYnyc83WZmmoSSxays=; b=YBV/UzW9L2tus0waJO9PwrhuemWsMPPzjPur3j3pmTozFlLRxIj052L8Y+4x+q+wfKzcT6 oW0xuhOTNTUWwgYm8KItaIJ/aUoewN5M9mdOJs3bH81JLbwvuKKabaJXyPK5987ilC/G5X P2GoNzrbH6VtRJy17uQxUmlNw/Vp2AJeXQNfTybjjF97JaSIgsrO9FBlbmvNJXnd+8lfQQ 3XcxizoipMwTn6u6xiyQXDlsEllZzkkB9FK0UGyh3ClOmkcJn832iQl2+NdU2PMznMs4IM 6EoyN9rSn256vv2SjmmmhXVzrQI63h7BIXZbkjv6Sti2fRQ9dgfUYIYgDGFwUw== X-Migadu-Spam-Score: -0.61 X-Spam-Score: -0.61 X-Migadu-Queue-Id: 6B7D22FB29 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: Tpudu4t21ZXe Hi Ludo’, On 2023-04-27 14:24, Ludovic Courtès wrote: > Hi Bruno, > > Ludovic Courtès skribis: > >> Bruno Victal skribis: >> >>> On 2023-03-30 11:22, Ludovic Courtès wrote: >>>> >>>> You can send messages to the bitbucket with: >>>> >>>> (parameterize ((shepherd-message-port (%make-void-port "w0"))) >>>> …) >>> >>> 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 “low-noise” way to query for running services? (or non modifying actions done on shepherd) Filling /var/log/messages with messages of (IMO) dubious value seems counterproductive. > What should we do about this bug? Am I right that the conclusion is > that ‘my-heartbeat-job’ 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 from the mcron log, yes. Cheers, Bruno