From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id CKtkGr8LT2ZVEgAAqHPOHw:P1 (envelope-from ) for ; Thu, 23 May 2024 11:26:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CKtkGr8LT2ZVEgAAqHPOHw (envelope-from ) for ; Thu, 23 May 2024 11:26:23 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=hKtyyy4Z; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716456383; 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=MH5+jLPwQxys0zD288FpVqx053Gwb2JVTo8lTEAjuFc=; b=SUDPidLfHgWj//a/DMtJloTMNn0ZgFqMywxyKNrCq0Ncthk9F4RpEsM4+jqku7mOcjFCOu S+JlNvRM5sk0CkOaz0J7WYWNTDXyvenB4sUxsx2nFcjCjPGD1kkymbminh647IQCYUVBSO FVUeEuptUq2Hraa1fHeXbx2v3Rq7smcCge7vDgneBpeFQXIT1LKzCXsB8/3aR4Fp/8gbyN exboJx8gRVyIbEM/amjkqYJh34e/2DxYO4PboHwknSBP5c6V3aP3IIjPUea6NGtZHLxHZ3 aVJKhF9dFOpkUYVJasM9oEPrxwq7NAmey6t9IXi0e+FPgYPbkgmY9MV5Ypdvfw== 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=hKtyyy4Z; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716456383; a=rsa-sha256; cv=none; b=O1ErzcQPaubkmfsp1phq7WZjN4hF2mnVVNv9zHJY1GbO8SHIxKLtT9Sd9dVJ6ocK4JfcKF +EbdHMpdHRF4ZgH0w7KC2tnZGDLO2eLCCBTZ5y4nugnXhY5eonxw1mwI1LIBtnh2mUqund vRwGdp/g7kFD2nnqTzw4iBo9jX0N8PWalknUoYMRIdD53bBBy7XkX4wQHX8IBihQk3i8xX XF563EEeldiBAjS5SPMJ3Q4IKkQyhIU6e/USkCe64MQ6C7ABSynDX2U0JI3owZDvwnSWRI 64fQS9Lt+azUKnDQlUYNMk4JPIYtx0T0NOqIAa+hnnLXRcUpKVlnU11UOvVd1A== 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 2CE2A6837A for ; Thu, 23 May 2024 11:26:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sA4hx-0005Yv-OD; Thu, 23 May 2024 05:25: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 1sA4hw-0005Ym-Jr for guix-patches@gnu.org; Thu, 23 May 2024 05:25:56 -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 1sA4hw-0005YE-7U for guix-patches@gnu.org; Thu, 23 May 2024 05:25:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sA4i2-0000V2-7h for guix-patches@gnu.org; Thu, 23 May 2024 05:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71118] [PATCH 2/5] services: tor: Log to stderr rather than syslog. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 May 2024 09:26: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: Maxim Cournoyer Cc: 71118@debbugs.gnu.org Received: via spool by 71118-submit@debbugs.gnu.org id=B71118.17164563061903 (code B ref 71118); Thu, 23 May 2024 09:26:02 +0000 Received: (at 71118) by debbugs.gnu.org; 23 May 2024 09:25:06 +0000 Received: from localhost ([127.0.0.1]:58779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sA4h7-0000Ud-K1 for submit@debbugs.gnu.org; Thu, 23 May 2024 05:25:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sA4h4-0000U7-14 for 71118@debbugs.gnu.org; Thu, 23 May 2024 05:25:04 -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 1sA4gs-0005Ac-9L; Thu, 23 May 2024 05:24:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=MH5+jLPwQxys0zD288FpVqx053Gwb2JVTo8lTEAjuFc=; b=hKtyyy4Zl8mqeSZs6+IW Qa3mNDB68VgK8ajwbMP95Na2k7ScnBO4SHm9YJJPMVy2OHIfoqJ8w7CA/p2x5WYCV5s2ENhJjtSOi f5yMaR9DLVPOn+PTt+q0Sbk3jEs2eDFzO8xQTglc4waMlxD0Oiv0t9Ze6d26MI89bLE5RViEhk+rl kPqpyEhnrEeT9Ohd8SH/GVDPmoDCJVwUF3DAU/hzjL1wnzQugzhIsWqUAjUA9N9RSLhx2J/pNE63x q1RXlZ8Zt2k4XCm4lYl8OGqxIo31FtwMOPvbKAuCdNdGX+qTXW5cb9H2xBtHLxVEaMVyHuFZbI8lk IRg7PCdy8zGCwQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87sey93get.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 22 May 2024 13:28:10 -0400") References: <87sey93get.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 5 Prairial an 232 de la =?UTF-8?Q?R=C3=A9volution, ?= jour du Canard 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: Thu, 23 May 2024 11:24:43 +0200 Message-ID: <8734q8c23o.fsf@gnu.org> 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -7.26 X-Migadu-Queue-Id: 2CE2A6837A X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -7.26 X-TUID: NRb1KpJnlr+E Hi, Maxim Cournoyer skribis: > Ludovic Court=C3=A8s writes: > >> * gnu/services/networking.scm (tor-configuration->torrc): Change =E2=80= =98Log=E2=80=99 >> directive to =E2=80=98stderr=E2=80=99. >> (tor-shepherd-service): Remove /dev/log file system mapping. >> >> Change-Id: I2e33ad8033f884ce59d929a4181172325331efe0 [...] > I see no functional change here; do I understand that Shepherd 1.0 will > now log (by default?) to /dev/error (stderr) instead of /dev/log > (syslog)? What is the rationale for such change? Shepherd by itself doesn=E2=80=99t make any decision; it=E2=80=99s up to th= e service to choose whether to log to stdout/stderr or to syslog. As I wrote in the cover letter at , Shepherd 0.10 already does a good job at handling logs, which makes gives less of an incentive to use syslogd; on top of that, 1.0 (current =E2=80=98devel=E2=80=99 branch) can display messages logged to stderr/stdou= t directly at the command line: --8<---------------cut here---------------start------------->8--- $ sudo /run/current-system/profile/bin/herd status guix-publish Status of guix-publish: It is running since Tue 21 May 2024 08:44:57 AM CEST (2 days ago). PID 518 running: /gnu/store/12jb83hlngklkymn52yzaw7kldr2qiwp-guix-1.4.0-2= 0.37719d3/bin/guix publish -u guix-publish -p 8123 -C zstd:3 -C gzip:3 --na= r-path=3Dnar --listen=3D0.0.0.0 --advertise It is enabled. Provides (guix-publish). Requires (user-processes guix-daemon avahi-daemon). Will be respawned. Log file: /var/log/guix-publish.log. Recent messages: 2024-05-21 10:56:10 In web/request.scm: 2024-05-21 10:56:10 205:32 4 (read-request # _) 2024-05-21 10:56:10 In web/http.scm: 2024-05-21 10:56:10 1158:12 3 (read-request-line _) 2024-05-21 10:56:10 1066:2 2 (parse-request-uri _ _ _) 2024-05-21 10:56:10 In ice-9/boot-9.scm: 2024-05-21 10:56:10 1685:16 1 (raise-exception _ #:continuable? _) 2024-05-21 10:56:10 1685:16 0 (raise-exception _ #:continuable? _) 2024-05-21 10:56:10 .Bad request: Invalid URI: 85.94.204.153:31204 2024-05-21 10:56:10=20 --8<---------------cut here---------------end--------------->8--- It=E2=80=99s a slight quality-of-life improvement. Thanks, Ludo=E2=80=99.