File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 65
65
} ;
66
66
// Log incoming message here before serde conversion to
67
67
// track incomplete chunks which are not valid JSON
68
- tracing:: info !( json = %line, "incoming message" ) ;
68
+ tracing:: debug !( json = %line, "incoming message" ) ;
69
69
70
70
// Parse JSON and validate message format
71
71
match serde_json:: from_str :: < serde_json:: Value > ( & line) {
@@ -158,7 +158,7 @@ where
158
158
let request_json = serde_json:: to_string ( & request)
159
159
. unwrap_or_else ( |_| "Failed to serialize request" . to_string ( ) ) ;
160
160
161
- tracing:: info !(
161
+ tracing:: debug !(
162
162
request_id = ?id,
163
163
method = ?request. method,
164
164
json = %request_json,
@@ -188,7 +188,7 @@ where
188
188
let response_json = serde_json:: to_string ( & response)
189
189
. unwrap_or_else ( |_| "Failed to serialize response" . to_string ( ) ) ;
190
190
191
- tracing:: info !(
191
+ tracing:: debug !(
192
192
response_id = ?response. id,
193
193
json = %response_json,
194
194
"Sending response"
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ async fn sse_handler(State(app): State<App>) -> Sse<impl Stream<Item = Result<Ev
102
102
// it's 4KB
103
103
const BUFFER_SIZE : usize = 1 << 12 ;
104
104
let session = session_id ( ) ;
105
- tracing:: info !( %session, "sse connection" ) ;
105
+ tracing:: debug !( %session, "sse connection" ) ;
106
106
let ( c2s_read, c2s_write) = tokio:: io:: simplex ( BUFFER_SIZE ) ;
107
107
let ( s2c_read, s2c_write) = tokio:: io:: simplex ( BUFFER_SIZE ) ;
108
108
app. txs
You can’t perform that action at this time.
0 commit comments