projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5edf326
)
Change logging of HTTP response
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 28 May 2013 12:37:51 +0000
(14:37 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 28 May 2013 12:37:51 +0000
(14:37 +0200)
src/http.c
patch
|
blob
|
history
diff --git
a/src/http.c
b/src/http.c
index
2720c3c
..
ee60f8d
100644
(file)
--- 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)