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
This commit is contained in:
chess
2026-09-27 11:30:52 +00:00
committed by copyberry
parent 67a709665a
commit 41f9084b30
2 changed files with 2 additions and 8 deletions
@@ -515,10 +515,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) => {