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:
Conrad Irwin 2025-08-19 20:26:56 -06:00 committed by GitHub
parent b12d862236
commit cac80e2ebd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 23 additions and 38 deletions

View file

@ -161,7 +161,7 @@ impl Client {
working_directory: &Option<PathBuf>,
cx: AsyncApp,
) -> Result<Self> {
log::info!(
log::debug!(
"starting context server (executable={:?}, args={:?})",
binary.executable,
&binary.args
@ -295,7 +295,7 @@ impl Client {
/// Continuously reads and logs any error messages from the server.
async fn handle_err(transport: Arc<dyn Transport>) -> anyhow::Result<()> {
while let Some(err) = transport.receive_err().next().await {
log::warn!("context server stderr: {}", err.trim());
log::debug!("context server stderr: {}", err.trim());
}
Ok(())

View file

@ -137,7 +137,7 @@ impl ContextServer {
}
async fn initialize(&self, client: Client) -> Result<()> {
log::info!("starting context server {}", self.id);
log::debug!("starting context server {}", self.id);
let protocol = crate::protocol::ModelContextProtocol::new(client);
let client_info = types::Implementation {
name: "Zed".to_string(),