>>836
自己レス。
ログファイルは ~/.local/state に置いてもいいよとか。state にログって馴染みにくいねえ...

ttps://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables :
> The $XDG_STATE_HOME contains state data that should persist between (application) restarts, but that is not important or portable enough to the user that it should be stored in $XDG_DATA_HOME. It may contain:
> actions history (logs, history, recently used files, …)