File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
main/java/org/opensearch/http
test/java/org/opensearch/http Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -116,10 +116,11 @@ void traceResponse(
116116 ) {
117117 logger .trace (
118118 new ParameterizedMessage (
119- "[{}][{}][{}][{}][{}] sent response to [{}] success [{}]" ,
119+ "[{}][{}][{}][{}][{}][{}] sent response to [{}] success [{}]" ,
120120 requestId ,
121121 opaqueHeader ,
122122 restResponse .status (),
123+ restResponse .status ().getStatus (),
123124 restResponse .contentType (),
124125 contentLength ,
125126 httpChannel ,
Original file line number Diff line number Diff line change @@ -285,6 +285,8 @@ public HttpStats stats() {
285285 + opaqueId
286286 + "\\ ]\\ ["
287287 + (badRequest ? "BAD_REQUEST" : "OK" )
288+ + "\\ ]\\ ["
289+ + (badRequest ? "400" : "200" )
288290 + "\\ ]\\ [null\\ ]\\ [0\\ ] sent response to \\ [.*"
289291 )
290292 );
You can’t perform that action at this time.
0 commit comments