projects
/
yaz-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:
643f3c6
)
GFS logs HTTP requests
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 18 Sep 2009 10:33:54 +0000
(12:33 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 18 Sep 2009 10:33:54 +0000
(12:33 +0200)
src/seshigh.c
patch
|
blob
|
history
diff --git
a/src/seshigh.c
b/src/seshigh.c
index
7e08220
..
15535b1
100644
(file)
--- a/
src/seshigh.c
+++ b/
src/seshigh.c
@@
-1690,6
+1690,7
@@
static void process_http_request(association *assoc, request *req)
int num_diagnostic = 0;
const char *host = z_HTTP_header_lookup(hreq->headers, "Host");
+ yaz_log(log_request, "%s %s HTTP/%s", hreq->method, hreq->path, hreq->version);
if (!control_association(assoc, host, 0))
{
p = z_get_HTTP_Response(o, 404);