guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#43920] [SHEPHERD PATCH] shepherd: Move log file to XDG_CACHE_DIR.


From: Ludovic Courtès
Subject: [bug#43920] [SHEPHERD PATCH] shepherd: Move log file to XDG_CACHE_DIR.
Date: Mon, 26 Oct 2020 11:27:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

Efraim Flashner <efraim@flashner.co.il> skribis:

> On October 24, 2020 4:15:33 PM UTC, "Ludovic Courtès" <ludo@gnu.org> wrote:

[...]

>>>> 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.

[...]

> I don't think it's really data, it's not like it belongs in something/share. 
> As another data point keybase writes its (verbose) logs in .cache/keybase.

To me the question whether it’s OK to lose the log.  In a way, storing
the log in ~/.cache akin to storing it in /tmp.

If we agree on that, then we have the choice between ~/.local/share
aka. XDG_DATA_HOME (like Xorg does), or maybe using ~/.local/var/log or
something similar that goes beyond XDG?

Thoughts?

Naming directories is hard.  :-)

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]