From: Alex Rousskov Date: Wed, 23 Mar 2011 00:32:37 +0000 (-0600) Subject: Made cache.log less noisy about usually benign events outside of admin control. X-Git-Tag: take06~27^2~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f47626663b856c127f8885ed79cadef2c2c21946;p=thirdparty%2Fsquid.git Made cache.log less noisy about usually benign events outside of admin control. Raised reporting level from 1 to 2 for 'statusIfComplete: Request not yet fully sent' and 'clientProcessRequest: Invalid Request' messages after observing important information drowning in their noise on busy proxies. --- diff --git a/src/client_side.cc b/src/client_side.cc index 2feaddf4ba..6de2b4329b 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -2431,7 +2431,7 @@ clientProcessRequest(ConnStateData *conn, HttpParser *hp, ClientSocketContext *c if (context->flags.parsed_ok == 0) { clientStreamNode *node = context->getClientReplyContext(); - debugs(33, 1, "clientProcessRequest: Invalid Request"); + debugs(33, 2, "clientProcessRequest: Invalid Request"); // setLogUri should called before repContext->setReplyToError setLogUri(http, http->uri, true); clientReplyContext *repContext = dynamic_cast(node->data.getRaw()); diff --git a/src/http.cc b/src/http.cc index a96bbb2594..0130ef57a3 100644 --- a/src/http.cc +++ b/src/http.cc @@ -981,7 +981,7 @@ HttpStateData::statusIfComplete() const * connection. */ if (!flags.request_sent) { - debugs(11, 1, "statusIfComplete: Request not yet fully sent \"" << RequestMethodStr(orig_request->method) << " " << entry->url() << "\"" ); + debugs(11, 2, "statusIfComplete: Request not yet fully sent \"" << RequestMethodStr(orig_request->method) << " " << entry->url() << "\"" ); return COMPLETE_NONPERSISTENT_MSG; }