]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Made cache.log less noisy about usually benign events outside of admin control.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 23 Mar 2011 00:32:37 +0000 (18:32 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 23 Mar 2011 00:32:37 +0000 (18:32 -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 2feaddf4bafde2f709edb6cf3c26ae873c798982..6de2b4329b4bc273cfd2c14cb073585336491625 100644 (file)
@@ -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<clientReplyContext *>(node->data.getRaw());
index a96bbb259494f2e89adf77192f77279ccee8f5ad..0130ef57a3cbfb2d8fdf090eec8d55213edf3607 100644 (file)
@@ -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;
     }