Skip to content

Commit abe9059

Browse files
author
Konstantina Chremmou
committed
CA-263064: Stop logging the body of jsonrpc requests.
Also removed additional debug line that was not particularly useful. Signed-off-by: Konstantina Chremmou <[email protected]>
1 parent 1abac32 commit abe9059

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ocaml/xapi/api_server.ml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,8 @@ let callback is_json req bio _ =
195195
let jsoncallback req bio _ =
196196
let fd = Buf_io.fd_of bio in (* fd only used for writing *)
197197
let body = Http_svr.read_body ~limit:Db_globs.http_limit_max_rpc_size req bio in
198-
debug "Here in jsoncallback";
199198
try
200-
debug "Got the jsonrpc body: %s" body;
201199
let rpc = Jsonrpc.call_of_string body in
202-
debug "Got the jsonrpc body: %s" body;
203200
let response = Jsonrpc.a_of_response
204201
~empty:Bigbuffer.make
205202
~append:(fun buf s -> Bigbuffer.append_substring buf s 0 (String.length s))

0 commit comments

Comments
 (0)