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`. --- src/nvim/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/README.md') diff --git a/src/nvim/README.md b/src/nvim/README.md index d14ba85546..affc5c79cc 100644 --- a/src/nvim/README.md +++ b/src/nvim/README.md @@ -38,7 +38,7 @@ alternate file (e.g. stderr) use `LOG_CALLSTACK_TO_FILE(FILE*)`. Requires Many log messages have a shared prefix, such as "UI" or "RPC". Use the shell to filter the log, e.g. at DEBUG level you might want to exclude UI messages: - tail -F ~/.local/share/nvim/log | cat -v | stdbuf -o0 grep -v UI | stdbuf -o0 tee -a log + tail -F ~/.cache/nvim/log | cat -v | stdbuf -o0 grep -v UI | stdbuf -o0 tee -a log Build with ASAN --------------- -- cgit