lsp: Fix noisy logs when starting language servers (#17713)
We would log every time we'd lookup a language server for a file and we'd also log "starting language server" even though we were about to only download it and not start it. Release Notes: - N/A
This commit is contained in:
parent
13c553c50f
commit
b5c42edf1e
3 changed files with 2 additions and 11 deletions
|
@ -833,7 +833,7 @@ impl LanguageRegistry {
|
|||
) -> Option<PendingLanguageServer> {
|
||||
let server_id = self.state.write().next_language_server_id();
|
||||
log::info!(
|
||||
"starting language server {:?}, path: {root_path:?}, id: {server_id}",
|
||||
"attempting to start language server {:?}, path: {root_path:?}, id: {server_id}",
|
||||
adapter.name.0
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue