From: Adam Dickmeiss Date: Tue, 28 May 2013 12:37:51 +0000 (+0200) Subject: Change logging of HTTP response X-Git-Tag: v1.6.32~10 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=8d8eb33f55a2f62f00463e7402c81c0cc02bde0e;p=pazpar2-moved-to-github.git Change logging of HTTP response --- diff --git a/src/http.c b/src/http.c index 2720c3c..ee60f8d 100644 --- a/src/http.c +++ b/src/http.c @@ -840,9 +840,12 @@ void http_send_response(struct http_channel *ch) 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 %s%s%s", + yaz_timing_get_real(ch->yt), + ch->request->path, + *ch->request->search ? "?" : "", + ch->request->search); + assert(rs); hb = http_serialize_response(ch, rs); if (!hb)