X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=jcc.c;h=eebac4384f7a3b6a906c6ae7035e9edbb409e4dc;hp=2423c28524e81bc38472923013a47b766863e8b4;hb=4ad1417c8beeba9fe3a90a36dd63e3eef24b6561;hpb=e557164478b2b173d6a4c1bfaf7e69720abdc233 diff --git a/jcc.c b/jcc.c index 2423c285..eebac438 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.211 2008/12/06 10:05:03 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.212 2008/12/14 15:46:22 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -33,6 +33,9 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.211 2008/12/06 10:05:03 fabiankeil Exp $" * * Revisions : * $Log: jcc.c,v $ + * Revision 1.212 2008/12/14 15:46:22 fabiankeil + * Give crunched requests their own log level. + * * Revision 1.211 2008/12/06 10:05:03 fabiankeil * Downgrade "Received x bytes while expecting y." message to * LOG_LEVEL_CONNECT as it doesn't necessarily indicate an error. @@ -1821,8 +1824,7 @@ static void send_crunch_response(const struct client_state *csp, struct http_res } /* Log that the request was crunched and why. */ - log_error(LOG_LEVEL_CRUNCH, "%s: %s%s", - crunch_reason(rsp), http->hostport, http->path); + log_error(LOG_LEVEL_CRUNCH, "%s: %s", crunch_reason(rsp), http->url); log_error(LOG_LEVEL_CLF, "%s - - [%T] \"%s\" %s %d", csp->ip_addr_str, http->ocmd, status_code, rsp->content_length);