Remove WebSocket headers and tool payloads from info logs (#48686)

Stop logging response headers on successful WebSocket connections and payload
previews for tool calls. Keep the connection URL, tool name, and thread ID in
their respective log entries.

GitOrigin-RevId: 1d410b6aef8f12153da9bfc60c515b8e797a9de0
(cherry picked from commit 41f9084b30)
This commit is contained in:
chess
2026-09-27 10:37:09 -07:00
committed by Ian MacLeod
parent 88d743c3ab
commit 4a36f4549d
2 changed files with 2 additions and 8 deletions
@@ -512,10 +512,7 @@ async fn connect_websocket(
let (stream, response) = match response {
Ok((stream, response)) => {
info!(
"successfully connected to websocket: {url}, headers: {:?}",
response.headers()
);
info!("successfully connected to websocket: {url}");
(stream, response)
}
Err(err) => {