struct http_buf *hb;
yaz_timing_stop(ch->yt);
- yaz_log(YLOG_LOG, "Response: %6.5f %3.2f %3.2f",
- yaz_timing_get_real(ch->yt), yaz_timing_get_user(ch->yt),
- yaz_timing_get_sys(ch->yt));
+ yaz_log(YLOG_LOG, "Response: %6.5f %d %s%s%s ",
+ yaz_timing_get_real(ch->yt),
+ iochan_getfd(ch->iochan),
+ ch->request->path,
+ *ch->request->search ? "?" : "",
+ ch->request->search);
+
assert(rs);
hb = http_serialize_response(ch, rs);
if (!hb)
return;
}
hc->response = 0;
- yaz_log(YLOG_LOG, "Request: %s %s%s%s", hc->request->method,
+ yaz_log(YLOG_LOG, "Request: - %d %s %s%s%s",
+ iochan_getfd(i),
+ hc->request->method,
hc->request->path,
*hc->request->search ? "?" : "",
hc->request->search);