[Clangd] What is the reason for setting the log level at info by default?
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
The current log level of Clangd is set at info by default, which roughly logs every call to any LSP method. This is unnecessary for most users and this is bad for configurations that stores the logs on disk (in my case the log file was taking 70 GiB of space for roughly a year of logs). All languages servers that I use do not log that much, so I find it odd that Clangd decides to log more by default.
I also think that it does not create more friction to report bugs as the user could change their LSP settings to change the default log level when necessary. Users that want this level of detail will not be the majority of users and it is trivial for them to set a more verbose log level.
Contributor guide
Assessment
This issue has not been assessed yet.