From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id aDm7KiwrTmZlHgEAe85BDQ:P1 (envelope-from ) for ; Wed, 22 May 2024 19:28:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aDm7KiwrTmZlHgEAe85BDQ (envelope-from ) for ; Wed, 22 May 2024 19:28:12 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=K08fZV7S; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716398892; 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=1Lj+64Th3Ydx3Ls82vZANf6bLpSchUhw9+gNdxdCnQo=; b=K1K8+WYCr96Jc3qP5Pm7RAIf8V8QMMSL5y6rYjq2KmgM4iDWLT7xhsMJk37oyeijbVJd1s SMMWMoJJVm1iBdlEILDvtrF0j2+id8kwkM6vZR+W1x/G+oBPUOCxYH7PYGijNnkDWsKAxn GKxzmrC9rhiKVcxwjuBKTgfE8r639+/zr6+OlaR6xZyRc6Sakd2pOxcQttxYHpsSueaKjV /fMgZtwafhMJIopjacCWrjvTfMDHdmCDkfQoyYO50oXGskHMU4gEJQ1cofLRhGIp4mSSKk atoxEUCeDqemUhTaNQJ0vSHh/+nqTe5nK2wqmfRoM8GZ0DFfaW3SfmmjrFD9yQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716398892; a=rsa-sha256; cv=none; b=LDmYl4lQc3quMVyGX79r6aqusuBe9R7x91aiNE+qt70Pr5it3jirl9bUsaqZdEtUcxSDVS 0d+4L1ue+zjZ9IDN+aAIda5pV6unaWJIi3FMKAUiuqZU/fSoJICniwP98GqC/elpTsR0bl tkZpsyankAKr8Msedy2ThR9+k+Kz4QdVc0huasX4fEfw2W6cJzvsQeHXuW/+Sb57ngtxl/ 6C/jRb4c0Ymjpw+b+Qq0SKltKYIlgHx1WPG1HaokLEYJPEo/i86tluOFxX2PZtK4xLZyke N4w7Ae+cCD0+oK8usd70PJveqsCr+dG7/ChqNUdICv4aKtf/qIqjkrfTiY8ZxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=K08fZV7S; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 976D3DFA4 for ; Wed, 22 May 2024 19:28:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9pkr-0000cp-Ui; Wed, 22 May 2024 13:27:57 -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 1s9pkq-0000cW-Pm for guix-patches@gnu.org; Wed, 22 May 2024 13:27:57 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s9pkq-0002D4-HP for guix-patches@gnu.org; Wed, 22 May 2024 13:27:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9pkw-0005Rg-CI for guix-patches@gnu.org; Wed, 22 May 2024 13:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71118] [PATCH 1/5] services: nscd: =?UTF-8?Q?=E2=80=98log-file=E2=80=99?= defaults to #f. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 May 2024 17:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71118 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 71118@debbugs.gnu.org, Matthew Trzcinski , Florian Pelz Received: via spool by 71118-submit@debbugs.gnu.org id=B71118.171639882820926 (code B ref 71118); Wed, 22 May 2024 17:28:02 +0000 Received: (at 71118) by debbugs.gnu.org; 22 May 2024 17:27:08 +0000 Received: from localhost ([127.0.0.1]:57176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9pk3-0005RS-Rw for submit@debbugs.gnu.org; Wed, 22 May 2024 13:27:08 -0400 Received: from mail-qt1-f177.google.com ([209.85.160.177]:43297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9pk0-0005R4-W2 for 71118@debbugs.gnu.org; Wed, 22 May 2024 13:27:06 -0400 Received: by mail-qt1-f177.google.com with SMTP id d75a77b69052e-43fa6d92b4eso267701cf.1 for <71118@debbugs.gnu.org>; Wed, 22 May 2024 10:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716398753; x=1717003553; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1Lj+64Th3Ydx3Ls82vZANf6bLpSchUhw9+gNdxdCnQo=; b=K08fZV7STvtR3/f2NHeP8iV//BX4dqPE4HulHSXbG4fzdQIMy7qS+zqnNZHF+MZaMY JYDOUYgpTX6tgLfuuypxenc9s7Zibn+tH8JSpxX8A0bBhi8eOk8qePICMxZ8EMg2f+hn rWxumdF+Bo44H5oNRY3nf4DwXc4FQxN6JsMJ7SpPSY5QqiUkrvMX26RBd3VuhzqaWL7G aFT1zgD/Xs7SSIRR9ietflNl5obNkC+VkBxhjG2wfCK3/4V0rLIQXEoPvN0qDr4IHwnv aBVVUvuNeMOZ7tDAtz8xWQH7zsJLhLh4bBM9lzsw7jK9hZkCDHXlqpkQIAveE2kyRMVO t8JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716398753; x=1717003553; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=1Lj+64Th3Ydx3Ls82vZANf6bLpSchUhw9+gNdxdCnQo=; b=YmPNG0i1hLL3AItJTx/fBLzmulZK3cI9bmq3kRxcd7nH9DWJLf7ggzZD2MvvPDPr9G I3rPZnd/EeMQ0h5Clqov+m/OBTy90K32DijYJ0aBrB/zxyqDrCsFlpiVxwgGX3PUHYWv /S/HPv0/Y9Jr8N7SUMgfdrbiiBBOHsezh13t8F3+/kK/qOP/KwjMcMFTg1BUsPQPniA0 I+4VHhbl0XvvytNZn1jXoqVNnTBxDdQlCQLgicp8ALiuoCFMWT9DQi2AhSLKJDq0f4UC YJwFKurclGStgEczNwW2VNdn+AO/+YpIYQjrc60vbt/et/qxJURMe8subBoVs8GIR1Mz xP5g== X-Gm-Message-State: AOJu0Yz+7ik7ylL3mQws4F0w+OF41ZgSpJtzpR1XPNmDLSj+cgvvR76g gy90huC4/Ftyzu/TjokngXsK9bTRWFzYf+IT8++Z6T8lzanjflX3 X-Google-Smtp-Source: AGHT+IFrmI0lEJs32w92ekHzLOdTXXjrPTf6jWa5LSVKCMRGcSojxEu7kBS9w2iRywL/kVGN5ZOAEA== X-Received: by 2002:a05:6214:568e:b0:6ab:6d0e:be2 with SMTP id 6a1803df08f44-6ab7c96204bmr46061306d6.22.1716398753274; Wed, 22 May 2024 10:25:53 -0700 (PDT) Received: from hurd (dsl-148-133.b2b2c.ca. [66.158.148.133]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6a35c7e4cbbsm72133006d6.128.2024.05.22.10.25.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 10:25:52 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <91683e6a6059df7816833d4e4d1e3bfc43aa74e7.1716386553.git.ludo@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 22 May 2024 16:53:36 +0200") References: <91683e6a6059df7816833d4e4d1e3bfc43aa74e7.1716386553.git.ludo@gnu.org> Date: Wed, 22 May 2024 13:25:51 -0400 Message-ID: <87wmnl3gio.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.26 X-Spam-Score: -2.26 X-Migadu-Queue-Id: 976D3DFA4 X-Migadu-Scanner: mx11.migadu.com X-TUID: HJ1SRAEDlW5r Hi Ludo, Ludovic Court=C3=A8s writes: > * gnu/services/base.scm ()[log-file]: Default to #f. > * doc/guix.texi (Base Services): Clarify documentation. > > Change-Id: Ia75914fc2665db13bef688d53659083a615ebef4 > --- > doc/guix.texi | 8 +++++--- > gnu/services/base.scm | 2 +- > 2 files changed, 6 insertions(+), 4 deletions(-) > > diff --git a/doc/guix.texi b/doc/guix.texi > index 8073e3f6d49..0055724e658 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -19446,9 +19446,11 @@ Base Services > Package object denoting the GNU C Library providing the @command{nscd} > command. >=20=20 > -@item @code{log-file} (default: @code{"/var/log/nscd.log"}) > -Name of the nscd log file. This is where debugging output goes when > -@code{debug-level} is strictly positive. > +@item @code{log-file} (default: @code{#f}) > +Name of the nscd log file. Debugging output goes to that file when > +@code{debug-level} is strictly positive, or to standard error if it is > +@code{#f}. Regular messages are written to syslog when > +@code{debug-level} is zero, regardless of the value of @code{log-file}. My initial reading of the above was wrong. I guess it's fine, though I find the special case logging to /dev/error when debug-level =3D=3D 0 despite log-file being set a bit surprising still. --=20 Thanks, Maxim