File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,14 +107,14 @@ let show_request req =
107107 (header_safe req " x-request-id" )
108108
109109let pairs_of_request req : Logger.Pairs.t =
110- [ " req.id " , string_of_int req.id;
111- " client.addr " , show_client_addr req;
112- " duration " , sprintf " %.4f" (Time. get () -. req.conn);
113- " duration.recv " , sprintf " %.4f" (req.recv -. req.conn);
114- " header.host " , header_safe req " host" ;
110+ [ " req_id " , string_of_int req.id;
111+ " client_addr " , show_client_addr req;
112+ " http_duration " , sprintf " %.4f" (Time. get () -. req.conn);
113+ " http_recv_duration " , sprintf " %.4f" (req.recv -. req.conn);
114+ " http_host " , header_safe req " host" ;
115115 " url" , req.url;
116- " header.user-agent " , header_safe req " user-agent" ;
117- " header.req-id " , header_safe req " x-request-id"
116+ " http_user_agent " , header_safe req " user-agent" ;
117+ " http_req_id " , header_safe req " x-request-id"
118118 ]
119119
120120let status_code : reply_status -> int = function
You can’t perform that action at this time.
0 commit comments