Silence a bucketload of logs (#36534)
Closes #ISSUE Release Notes: - Silenced a bunch of logs that were on by default
This commit is contained in:
parent
b12d862236
commit
cac80e2ebd
17 changed files with 23 additions and 38 deletions
|
@ -399,7 +399,6 @@ impl ContextServerStore {
|
|||
async move |this, cx| {
|
||||
match server.clone().start(cx).await {
|
||||
Ok(_) => {
|
||||
log::info!("Started {} context server", id);
|
||||
debug_assert!(server.client().is_some());
|
||||
|
||||
this.update(cx, |this, cx| {
|
||||
|
|
|
@ -63,7 +63,7 @@ impl registry::ContextServerDescriptor for ContextServerDescriptor {
|
|||
.await?;
|
||||
command.command = extension.path_from_extension(&command.command);
|
||||
|
||||
log::info!("loaded command for context server {id}: {command:?}");
|
||||
log::debug!("loaded command for context server {id}: {command:?}");
|
||||
|
||||
Ok(ContextServerCommand {
|
||||
path: command.command,
|
||||
|
|
|
@ -831,7 +831,6 @@ impl BreakpointStore {
|
|||
new_breakpoints.insert(path, breakpoints_for_file);
|
||||
}
|
||||
this.update(cx, |this, cx| {
|
||||
log::info!("Finish deserializing breakpoints & initializing breakpoint store");
|
||||
for (path, count) in new_breakpoints.iter().map(|(path, bp_in_file)| {
|
||||
(path.to_string_lossy(), bp_in_file.breakpoints.len())
|
||||
}) {
|
||||
|
|
|
@ -296,7 +296,7 @@ impl LocalLspStore {
|
|||
let stderr_capture = Arc::new(Mutex::new(Some(String::new())));
|
||||
|
||||
let server_id = self.languages.next_language_server_id();
|
||||
log::info!(
|
||||
log::trace!(
|
||||
"attempting to start language server {:?}, path: {root_path:?}, id: {server_id}",
|
||||
adapter.name.0
|
||||
);
|
||||
|
@ -7529,7 +7529,7 @@ impl LspStore {
|
|||
.ok()
|
||||
.flatten()?;
|
||||
|
||||
log::info!("Refreshing workspace configurations for servers {refreshed_servers:?}");
|
||||
log::debug!("Refreshing workspace configurations for servers {refreshed_servers:?}");
|
||||
// TODO this asynchronous job runs concurrently with extension (de)registration and may take enough time for a certain extension
|
||||
// to stop and unregister its language server wrapper.
|
||||
// This is racy : an extension might have already removed all `local.language_servers` state, but here we `.clone()` and hold onto it anyway.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue