From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 EMEbE8nPJmQZAAAASxT56A (envelope-from ) for ; Fri, 31 Mar 2023 14:19:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sPUAE8nPJmQW3gAA9RJhRA (envelope-from ) for ; Fri, 31 Mar 2023 14:19:21 +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 21A5864A4 for ; Fri, 31 Mar 2023 14:19:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piDii-0000c3-4X; Fri, 31 Mar 2023 08:19: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 1piDig-0000bT-4Z for bug-guix@gnu.org; Fri, 31 Mar 2023 08:19: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 1piDif-00073h-S8 for bug-guix@gnu.org; Fri, 31 Mar 2023 08:19:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piDif-0007XY-OC for bug-guix@gnu.org; Fri, 31 Mar 2023 08:19:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62163: Suppress logging shepherd evaluation in mcron.log Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 31 Mar 2023 12:19: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: Bruno Victal Cc: 62163@debbugs.gnu.org, Maxim Cournoyer Received: via spool by 62163-submit@debbugs.gnu.org id=B62163.168026512728959 (code B ref 62163); Fri, 31 Mar 2023 12:19:01 +0000 Received: (at 62163) by debbugs.gnu.org; 31 Mar 2023 12:18:47 +0000 Received: from localhost ([127.0.0.1]:60610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piDiQ-0007X1-WC for submit@debbugs.gnu.org; Fri, 31 Mar 2023 08:18:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piDiP-0007Wk-3G for 62163@debbugs.gnu.org; Fri, 31 Mar 2023 08:18:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piDiH-00071k-Qn; Fri, 31 Mar 2023 08:18:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=c2moEuub30cqMZpARFVIxEA6lx+ILNSgU9iZBTEzWpw=; b=sLgGSXWosXZxf9hN6DuA 7H3zRyMwa95t6wHXjHnBpDZyWP6s1WqIAQiqLJf/X3dQZYnHCBct4LRxy/oBgXdhMdN3jHTa2qIFV PQYJ+UgYmQfsoQrILnKwN0lMGWdK52ygtGQLyoZLCWoxg9cuXcWHagiroTTbvN/fDbVSoXkanICDf HWBlhfNSoVS1zN/FrDEDpxKx4h8jU3lAanP+6AgxSa+x775LGNrnXZjpSrRtSuronyvvcfjK6mqzB FAL6yibQRWbkNCarEP0JNlPCZsWtH2T7mtX7C/I885wlzX/e/7zGA96whksYzY7PjkCbf3EA3UGym GSQF9ondutduAg==; Received: from [193.50.110.123] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piDiG-0003tD-K3; Fri, 31 Mar 2023 08:18:37 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 11 Germinal an 231 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de la Pervenche X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 31 Mar 2023 14:18:34 +0200 In-Reply-To: (Bruno Victal's message of "Thu, 30 Mar 2023 12:21:18 +0100") Message-ID: <878rfd5d2d.fsf@gnu.org> 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=1680265161; a=rsa-sha256; cv=none; b=cEfbZ1/aeSZCI4N7aUCN+i+1Gl2Zh5o6SfvAgAoQLrExl70VzbtGWeF6Vrv+kXmjK7+GTT QtF4Ituxwo/8TQr4o+XzJp+vXGFMUIdv4v0aoS04Uvbuq0LOTw+LjkuywtKmB9GGP4MqnM TeDMb8bNeZ/nL6KiCTNrJ3KA8sXE6NePEa9QqJ4fqJ4DzydGw/XBSVHBGeOJX/cpaaQ1yk t8lF8KmxNSmsv2HwWA0IWUT059l3clbB9rnsn9DZVmue1QcyLXekq3BfknQjg9c5SG0efA mCyw5/n/khV7Tir4zadqXUIHRKcBBq9igdWzShe2qRWB4juGml7RVAiYD4zP/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=sLgGSXWo; dmarc=pass (policy=none) header.from=gnu.org; 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=1680265161; 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:dkim-signature; bh=c2moEuub30cqMZpARFVIxEA6lx+ILNSgU9iZBTEzWpw=; b=HhhbRDkB9eMvhPocwN8HFMhl+moFfHXiNb6nUKXqvIOWTz2U/GrmT2BvL23QYxTsMt+/vG V1bpyDIhVfb3RHHpFKXhPPLpIWYPsWXDvqQWr1+n+yC00HL4ZmjcrlPUC63vxISDtYIJRR vyeNfKNkI2HpnUrTwM3ZYmGjFppr/218gdE9hmZuD4rvikBPlxcfcQ3joSi5DOnZ6AhvzP IfyssgMulNk1P+fImcLOGHjcaNHLy5qizDyrMtSrPlhum5PeuK13xpNVW9c279r+MtiFPI S0rnP+4rEGgb4ckG47And77zaOQwLRcTRzW0TM8qXk9581mgZTJkNwmhyBDXzg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=sLgGSXWo; dmarc=pass (policy=none) header.from=gnu.org; 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-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.42 X-Spam-Score: -4.42 X-Migadu-Queue-Id: 21A5864A4 X-TUID: nngKxCwsG0LW Hi, Bruno Victal skribis: > On 2023-03-30 11:22, Ludovic Court=C3=A8s wrote: [...] >>> It queries shepherd to see if a service is running and sends a restart = if required. >>=20 >> Isn=E2=80=99t that what #:respawn? #t is supposed to do? :-) >>=20 >> If you find that #:respawn? doesn=E2=80=99t 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 unrespo= nsive without crashing, > i.e. HTTP backend stops responding to API requests but the server is stil= l up. > The job performs a "health-check" and restarts it if it doesn't get the a= ppropriate response. OK. It still means that the service in question is kinda broken, right? > A concrete situation where this could be of use is for logs.guix that occ= asionally stops > recording. Oh you mean =E2=80=98goggles-bot=E2=80=99? Yeah I wonder why it occasional= ly goes wrong, but really I think Someone=E2=84=A2 should debug it (it=E2=80=99s a = small script in maintenance.git). >> You can send messages to the bitbucket with: >>=20 >> (parameterize ((shepherd-message-port (%make-void-port "w0"))) >> =E2=80=A6) > > Thanks! > I'm still curious as to exactly what/which lines cause shepherd to output= the lines. The =E2=80=9CEvaluating=E2=80=9D line is emitted by shepherd, logged, and s= ent to clients (for instance when you do =E2=80=98herd eval root '(+ 2 3)'=E2=80= =99). (gnu services herd) provides a client that echoes those messages to =E2=80=98shepherd-message-port=E2=80=99. Does that make sense? Ludo=E2=80=99.