From ea8756f85ddd0aeed2e7eccd0ea86ade4fb7eca8 Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Wed, 13 Jan 2021 14:20:21 -0800 Subject: logging: move to XDG_CACHE_HOME (#13739) while there is some controversy, stdpath('cache') looks like a better fit for logs than stdpath('data'): you can remove logs without preventing nvim to work which fits the XDG_CACHE_HOME definition of `user specific non-essential data files`. --- runtime/doc/starting.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/doc') diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index 160995b440..48b9aad58b 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1342,7 +1342,7 @@ LOG FILE *$NVIM_LOG_FILE* Besides 'debug' and 'verbose', Nvim keeps a general log file for internal debugging, plugins and RPC clients. > :echo $NVIM_LOG_FILE -Usually the file is ~/.local/share/nvim/log unless that path is inaccessible +Usually the file is ~/.cache/nvim/log unless that path is inaccessible or if $NVIM_LOG_FILE was set before |startup|. -- cgit