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 yMjOGOJwJWQjXAEASxT56A (envelope-from ) for ; Thu, 30 Mar 2023 13:22:10 +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 2NDoGOJwJWRvJgEA9RJhRA (envelope-from ) for ; Thu, 30 Mar 2023 13:22:10 +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 24C6B125E7 for ; Thu, 30 Mar 2023 13:22:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phqM0-0004ax-AM; Thu, 30 Mar 2023 07:22:04 -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 1phqLy-0004aa-NF for bug-guix@gnu.org; Thu, 30 Mar 2023 07:22: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 1phqLy-0005zB-Ea for bug-guix@gnu.org; Thu, 30 Mar 2023 07:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phqLy-0006sd-9e for bug-guix@gnu.org; Thu, 30 Mar 2023 07:22:02 -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, 30 Mar 2023 11:22:02 +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.168017529026378 (code B ref 62163); Thu, 30 Mar 2023 11:22:02 +0000 Received: (at 62163) by debbugs.gnu.org; 30 Mar 2023 11:21:30 +0000 Received: from localhost ([127.0.0.1]:55921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phqLS-0006rN-CY for submit@debbugs.gnu.org; Thu, 30 Mar 2023 07:21:30 -0400 Received: from smtpm1.myservices.hosting ([185.26.105.232]:47854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phqLR-0006rG-2V for 62163@debbugs.gnu.org; Thu, 30 Mar 2023 07:21:29 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm1.myservices.hosting (Postfix) with ESMTP id 89C1520520; Thu, 30 Mar 2023 13:21:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 3E83A8009E; Thu, 30 Mar 2023 13:21:27 +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 aG9dtIINym9Z; Thu, 30 Mar 2023 13:21:26 +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 A93A28009B; Thu, 30 Mar 2023 13:21:26 +0200 (CEST) Message-ID: Date: Thu, 30 Mar 2023 12:21:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.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> From: Bruno Victal In-Reply-To: <87y1neo7wz.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=1680175330; a=rsa-sha256; cv=none; b=FqV3acdP0SAPiwE6zZqkWyYGD8CAto9muWuCfbgTG7pimcddZcu9BXqjkLfFl1ku9eZF2J VkQNdrG4xzEAy2ykUIEkXcILAzH0Q3RirkiTUnwMBCHCUBHSoKLEAJcnIcifldO9pP2dGJ q6wcPeiWsgwn5f7GlOtLQOLfpQAiBf5GtpI5tOQnnPqGydmhq98E1Pr9oE/5GthRs0Znsk MBEReiY0PPodq+tsuJEyp18OvBI+1Y0a+FeHS5Z9CkpyOFkCxzcOOElmKcDzqE3kl326Jx RQ6b75Mbokskk03e47hY431Md/ln8+z2XfbR4i3Bx9VRygm+b1ilgZUX474ngA== 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=1680175330; 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=XwD/fbAkAkNMREz5qltjGXmPLSKsdKu+sgnapMXqtg4=; b=jZJHRXSLtt++oZLVOx/6oWDyNj/JYDe+3rKGKDwXGQDcGkAPpuliXfaXVZPj2sGjmS5HtT 0Vck97OArsJbxhHmSWzt6OLEyWS2JwDtbVgN50DVRydH+31Ahrphek+Q6zRX+59OdZnADK 5WAO3Dwd3W8D+cBgy+jgCFxXA+0HJN6SDKrN6h2oik4ES+wggTCeenbg7nDL69CsHGAunv d4XOeIgyV7YVObUKxXHAAUENSgCJMsCGgK1zrH72rgmRzrAquajQaWVE4GfjJknBS6eXFf XNA7NfvUAsXxGMmhIx5MMTrT8bObkDO41qAlfcmcbCDpbGc4XaeihWj19oLIFA== X-Migadu-Spam-Score: -4.72 X-Spam-Score: -4.72 X-Migadu-Queue-Id: 24C6B125E7 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: mp5pS7764Dtf On 2023-03-30 11:22, Ludovic Courtès wrote: > Hi, > > Bruno Victal skribis: > >> On 2023-03-28 17:25, Ludovic Courtès wrote: >>> >>> Nope. :-) What is ‘my-heartbeat-job’ doing? >> >> It queries shepherd to see if a service is running and sends a restart if required. > > Isn’t that what #:respawn? #t is supposed to do? :-) > > If you find that #:respawn? doesn’t work, then we should fix it. Oh, I should have explained better here. Re-spawn works, it's the (daemon) service that might misbehave/go unresponsive without crashing, i.e. HTTP backend stops responding to API requests but the server is still up. The job performs a "health-check" and restarts it if it doesn't get the appropriate response. A concrete situation where this could be of use is for logs.guix that occasionally stops recording. > > You can send messages to the bitbucket with: > > (parameterize ((shepherd-message-port (%make-void-port "w0"))) > …) Thanks! I'm still curious as to exactly what/which lines cause shepherd to output the lines. Cheers, Bruno