-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lsp.log grows insanely #4537
Comments
This comment was marked as outdated.
This comment was marked as outdated.
could you check which server is spamming the info? are you sure you're not running on debug by mistake? vim.lsp.set_log_level("WARN") -- set :h set_log_level |
I've seen this happed with some language servers that act "odd." Namely terraform-ls where it would, by default, send it's logs to stderr which would get captured as errors in the lsp.log file. I had to change the lspconfig for terraform-ls to send its logs to its own file:
Saying that, I think it would be a great feature request to add rolling the lsp.log file into LunarVim. |
please consider upstreaming these changes to https://github.com/neovim/nvim-lspconfig/blob/b124ef3bd4435a6db7ff03ea2f5a23e1e0487552/lua/lspconfig/server_configurations/terraformls.lua
I was planning on adding that to neovim core at some point, but got sidetracked with something else. |
Problem description
I just realize that my
~/.local/state/lvim/lsp.log
has grown to 250GiB as it was taking up over half of my/home
partition.. This is definitely not good..LunarVim version
release-1.3/neovim-0.9-d1c1bace
Neovim version (>= 0.9.1)
NVIM v0.9.5
Terminal name
alacritty
Operating system/version
GuixSD
Steps to reproduce
No response
Screenshots
The text was updated successfully, but these errors were encountered: