From acef385eb4fe9f69e929eb454e2420471b9f6ff5 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 27 Dec 2012 15:48:01 +0000 Subject: [PATCH] Include the protocol when logging http:// requests with 'debug 1' Suggested by Martin Olsson in #3596294. --- jcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jcc.c b/jcc.c index 2a8b02cf..97edc4ad 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.420 2012/12/07 12:45:20 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.421 2012/12/07 12:50:37 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -1839,7 +1839,7 @@ static void chat(struct client_state *csp) } log_applied_actions(csp->action); - log_error(LOG_LEVEL_GPC, "%s%s", http->hostport, http->path); + log_error(LOG_LEVEL_GPC, "%s", http->url); if (fwd->forward_host) { -- 2.39.2