From bc62647141803b534e103d450ed7328999d9e02e Mon Sep 17 00:00:00 2001 From: Kalvin Chau Date: Fri, 7 Mar 2025 10:45:55 -0800 Subject: [PATCH] chore: remove logging of oauth config, just log where we output --- crates/goose-mcp/src/google_drive/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/goose-mcp/src/google_drive/mod.rs b/crates/goose-mcp/src/google_drive/mod.rs index 2ed1e7f1496a..e3dcfec25cca 100644 --- a/crates/goose-mcp/src/google_drive/mod.rs +++ b/crates/goose-mcp/src/google_drive/mod.rs @@ -90,10 +90,6 @@ impl GoogleDriveRouter { ); if !keyfile_path.exists() && oauth_config.is_ok() { - tracing::debug!( - oauth_config = ?oauth_config, - "Google Drive MCP server OAuth config" - ); // attempt to create the path if let Some(parent_dir) = keyfile_path.parent() { let _ = fs::create_dir_all(parent_dir); @@ -101,6 +97,10 @@ impl GoogleDriveRouter { if let Ok(mut file) = fs::File::create(keyfile_path) { let _ = file.write_all(oauth_config.unwrap().as_bytes()); + tracing::debug!( + "Wrote Google Drive MCP server OAuth config to {}", + keyfile_path.display() + ); } }