]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Make cache.log less noisy about usually benign events outside of admin control.
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 3 Apr 2011 11:33:34 +0000 (05:33 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 3 Apr 2011 11:33:34 +0000 (05:33 -0600)
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.

src/client_side.cc
src/http.cc

index b0f04e9015899529944f33c1651d76352a514eeb..4ac024501e5e7a36c9f1e73be249f60f3ab90e2d 100644 (file)
@@ -2360,7 +2360,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<clientReplyContext *>(node->data.getRaw());
index 7689057a5b53cc2603a5e0e1b6dbf77939b694a4..3251dfa9b17202bef2a0a645aad3efd7117cc708 100644 (file)
@@ -941,7 +941,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;
     }