From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WLNnN6xWk1+nFQAA0tVLHw (envelope-from ) for ; Fri, 23 Oct 2020 22:18:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oEpQM6xWk18+LQAA1q6Kng (envelope-from ) for ; Fri, 23 Oct 2020 22:18:20 +0000 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 4BA51940237 for ; Fri, 23 Oct 2020 22:18:20 +0000 (UTC) Received: from localhost ([::1]:48342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kW5O7-0007FC-7e for larch@yhetil.org; Fri, 23 Oct 2020 18:18:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kW5Nq-0007Eu-Vh for guix-patches@gnu.org; Fri, 23 Oct 2020 18:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kW5Nq-0002tP-Md for guix-patches@gnu.org; Fri, 23 Oct 2020 18:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kW5Nq-0001Q8-JD for guix-patches@gnu.org; Fri, 23 Oct 2020 18:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43920] [SHEPHERD PATCH] shepherd: Move log file to XDG_CACHE_DIR. References: <20201011092017.31901-1-efraim@flashner.co.il> Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Oct 2020 22:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43920 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: ludo@gnu.org Cc: 43920@debbugs.gnu.org Received: via spool by 43920-submit@debbugs.gnu.org id=B43920.16034914505391 (code B ref 43920); Fri, 23 Oct 2020 22:18:02 +0000 Received: (at 43920) by debbugs.gnu.org; 23 Oct 2020 22:17:30 +0000 Received: from localhost ([127.0.0.1]:58643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW5NJ-0001Ot-N9 for submit@debbugs.gnu.org; Fri, 23 Oct 2020 18:17:29 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:48408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW5NG-0001Oh-TZ for 43920@debbugs.gnu.org; Fri, 23 Oct 2020 18:17:28 -0400 Received: from nijino.local (217-149-162-161.nat.highway.telekom.at [217.149.162.161]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4CHz9v3bHrz1DTkN; Sat, 24 Oct 2020 00:17:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4CHz9v3bHrz1DTkN DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1603491443; bh=bOYn0ENKXj0PLkogdNXATyucfXdMUXRtX8zHeJ8wMds=; h=Subject:From:To:Cc:Date:In-Reply-To:From; b=iHe7rkRZNYN8Q1aeZCcwC2VIgmhx+5sClTmDXjgeODS+ycZxZJVNwSLWfpZd59Mqd deUGAIl/MBBktbxGlRNEWMNrOfg+8CE+gvZM7Nmg/01dXSNcZy9nYk3vA1Hg1UKmL/ 9srUJu8hYTPPUrTWusr9vKoCg1k/M3AyBAipcrfo= Message-ID: From: Leo Prikler Date: Sat, 24 Oct 2020 00:17:22 +0200 In-Reply-To: 87imb2tk3m.fsf@gnu.org Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=iHe7rkRZ; dmarc=pass (policy=none) header.from=student.tugraz.at; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: LIplQh4+iFp0 > The previous location wasn’t perfect, but the proposed one isn’t > great > either: one can generally assume “rm -rf ~/.cache” won’t lose > anything > that cannot be reconstructed, and the log is something that cannot be > reconstructed. That is actually not part of the XDG specification – it merely states, that non-essential files be put there. Whether or not one considers the shepherd log essential is debatable. You could alternatively put it under $XDG_DATA_HOME. Some projects like Xorg seem to do that. Of course, there always remains the option of having yet another environment variable or command line parameter for the placement of the log file. Regards, Leo