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:
Thorsten Ball 2024-09-11 12:56:39 -04:00 committed by GitHub
parent 13c553c50f
commit b5c42edf1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 11 deletions

View file

@ -272,7 +272,7 @@ impl LanguageServer {
};
log::info!(
"starting language server. binary path: {:?}, working directory: {:?}, args: {:?}",
"starting language server process. binary path: {:?}, working directory: {:?}, args: {:?}",
binary.path,
working_dir,
&binary.arguments