From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iCoiEvVblF9UKgAA0tVLHw (envelope-from ) for ; Sat, 24 Oct 2020 16:53:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id hmMBDvVblF+gMgAAbx9fmQ (envelope-from ) for ; Sat, 24 Oct 2020 16:53:09 +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 B8AEC9401DD for ; Sat, 24 Oct 2020 16:53:08 +0000 (UTC) Received: from localhost ([::1]:49110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWMmx-000526-8i for larch@yhetil.org; Sat, 24 Oct 2020 12:53:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWMmr-00051x-Ty for guix-patches@gnu.org; Sat, 24 Oct 2020 12:53:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWMmr-0004go-Kc for guix-patches@gnu.org; Sat, 24 Oct 2020 12:53:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kWMmr-0004Rg-J2 for guix-patches@gnu.org; Sat, 24 Oct 2020 12:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43920] [SHEPHERD PATCH] shepherd: Move log file to XDG_CACHE_DIR. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Oct 2020 16:53:01 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Leo Prikler Cc: 43920@debbugs.gnu.org, "Jan \(janneke\) Nieuwenhuizen" Received: via spool by 43920-submit@debbugs.gnu.org id=B43920.160355832216997 (code B ref 43920); Sat, 24 Oct 2020 16:53:01 +0000 Received: (at 43920) by debbugs.gnu.org; 24 Oct 2020 16:52:02 +0000 Received: from localhost ([127.0.0.1]:35030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWMlt-0004Pz-TU for submit@debbugs.gnu.org; Sat, 24 Oct 2020 12:52:02 -0400 Received: from flashner.co.il ([178.62.234.194]:55156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWMlr-0004Pk-MU for 43920@debbugs.gnu.org; Sat, 24 Oct 2020 12:52:00 -0400 Received: from [127.0.0.1] (unknown [141.226.13.8]) by flashner.co.il (Postfix) with ESMTPSA id 0B168400D1; Sat, 24 Oct 2020 16:51:52 +0000 (UTC) Date: Sat, 24 Oct 2020 16:51:20 +0000 From: Efraim Flashner User-Agent: K-9 Mail for Android In-Reply-To: <87h7qjiore.fsf@gnu.org> References: <87h7qjiore.fsf@gnu.org> Message-ID: <5115DA89-FC2F-4B00-8F3B-D461908E1775@flashner.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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=none; dmarc=none; 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.01 X-TUID: nj9n996x0VDE On October 24, 2020 4:15:33 PM UTC, "Ludovic Court=C3=A8s" wrote: >Hi, > >Leo Prikler skribis: > >>> The previous location wasn=E2=80=99t perfect, but the proposed one isn= =E2=80=99t >>> great >>> either: one can generally assume =E2=80=9Crm -rf ~/=2Ecache=E2=80=9D w= on=E2=80=99t lose >>> anything >>> that cannot be reconstructed, and the log is something that cannot be >>> reconstructed=2E >> That is actually not part of the XDG specification =E2=80=93 it merely = states, >> that non-essential files be put there=2E Whether or not one considers >> the shepherd log essential is debatable=2E > >Right, that=E2=80=99s my interpretation of what =E2=80=9Ccache=E2=80=9D m= eans=2E > I felt like it belongs in cache much more than in a config dir=2E >> You could alternatively put it under $XDG_DATA_HOME=2E Some projects >> like Xorg seem to do that=2E Of course, there always remains the optio= n >> of having yet another environment variable or command line parameter >> for the placement of the log file=2E > >Yup, XDG_DATA_HOME would work for me; it seems to be rather in line with >what the XDG states and what Xorg does, as you note=2E > > https://specifications=2Efreedesktop=2Eorg/basedir-spec/basedir-spec-la= test=2Ehtml > >WDYT, Efraim & Janneke? I don't think it's really data, it's not like it belongs in something/shar= e=2E As another data point keybase writes its (verbose) logs in =2Ecache/ke= ybase=2E > >Ludo=E2=80=99=2E --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E