mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 11:15:35 -05:00
more detailed info string for responses
This commit is contained in:
parent
f93f8d733a
commit
bb70c46978
1 changed files with 2 additions and 2 deletions
|
|
@ -1049,9 +1049,9 @@ let client_handle_for (self : t) ~client_addr ic oc : unit =
|
|||
if not Log.dummy then
|
||||
Log.info (fun k ->
|
||||
let elapsed = B.get_time_s () -. req.start_time in
|
||||
k "response to=%s code=%d time=%.3fs"
|
||||
k "response to=%s path=%S code=%d time=%.3fs"
|
||||
(str_of_sockaddr client_addr)
|
||||
resp.code elapsed)
|
||||
req.path resp.code elapsed)
|
||||
in
|
||||
|
||||
(try
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue