Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Less log spam (non git worktrees; saving with no LSP) (#29557)

Peter Tripp0e477e7db9d1
diff --git a/crates/editor/src/git/blame.rs b/crates/editor/src/git/blame.rs
index fa68db7d7f7..fb718ed49b3 100644
--- a/crates/editor/src/git/blame.rs
+++ b/crates/editor/src/git/blame.rs
@@ -506,7 +506,7 @@ impl GitBlame {
} else {
// If we weren't triggered by a user, we just log errors in the background, instead of sending
// notifications.
- log::error!("failed to get git blame data: {error:?}");
+ log::debug!("failed to get git blame data: {error:?}");
}
}),
})
diff --git a/crates/project/src/lsp_store.rs b/crates/project/src/lsp_store.rs
index eea22322e38..bad9e423a0b 100644
--- a/crates/project/src/lsp_store.rs
+++ b/crates/project/src/lsp_store.rs
@@ -1432,7 +1432,7 @@ impl LocalLspStore {
};
let Some(language_server) = language_server else {
- log::warn!(
+ log::debug!(
"No language server found to format buffer '{:?}'. Skipping",
buffer_path_abs.as_path().to_string_lossy()
);