From: <no...@so...> - 2008-12-15 18:45:56
|
Update of /cvsroot/ijbswa/current In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv9758 Modified Files: jcc.c Log Message: When logging crunches, log the whole URL, so one can easily differentiate between vanilla HTTP and CONNECT requests. Index: jcc.c =================================================================== RCS file: /cvsroot/ijbswa/current/jcc.c,v retrieving revision 1.212 retrieving revision 1.213 diff -u -d -r1.212 -r1.213 --- jcc.c 14 Dec 2008 15:46:22 -0000 1.212 +++ jcc.c 15 Dec 2008 18:45:51 -0000 1.213 @@ -33,6 +33,10 @@ * * Revisions : * $Log$ + * Revision 1.213 2008/12/15 18:45:51 fabiankeil + * When logging crunches, log the whole URL, so one can easily + * differentiate between vanilla HTTP and CONNECT requests. + * * Revision 1.212 2008/12/14 15:46:22 fabiankeil * Give crunched requests their own log level. * @@ -1824,8 +1828,7 @@ } /* 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); |