From: Adam Dickmeiss Date: Fri, 18 Sep 2009 10:33:54 +0000 (+0200) Subject: GFS logs HTTP requests X-Git-Tag: v3.0.49~11^2 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=2316d384aec77ec59fa137edb6782053f325b6b4;p=yaz-moved-to-github.git GFS logs HTTP requests --- diff --git a/src/seshigh.c b/src/seshigh.c index 7e08220..15535b1 100644 --- 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);