summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7501c48)
This makes it easy to track socket/connection usage.
struct http_buf *hb;
yaz_timing_stop(ch->yt);
struct http_buf *hb;
yaz_timing_stop(ch->yt);
- yaz_log(YLOG_LOG, "Response: %6.5f %s%s%s",
+ yaz_log(YLOG_LOG, "Response: %6.5f %d %s%s%s ",
yaz_timing_get_real(ch->yt),
yaz_timing_get_real(ch->yt),
+ iochan_getfd(ch->iochan),
ch->request->path,
*ch->request->search ? "?" : "",
ch->request->search);
ch->request->path,
*ch->request->search ? "?" : "",
ch->request->search);
return;
}
hc->response = 0;
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);
hc->request->path,
*hc->request->search ? "?" : "",
hc->request->search);