From 2316d384aec77ec59fa137edb6782053f325b6b4 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 18 Sep 2009 12:33:54 +0200 Subject: [PATCH] GFS logs HTTP requests --- src/seshigh.c | 1 + 1 file changed, 1 insertion(+) 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); -- 1.7.10.4