mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
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:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user