From: Alex Rousskov Date: Sun, 3 Apr 2011 11:33:34 +0000 (-0600) Subject: Make cache.log less noisy about usually benign events outside of admin control. X-Git-Tag: SQUID_3_1_12~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c9c9406865e8234cd3ce0f76e10317f94294ba2;p=thirdparty%2Fsquid.git Make 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 b0f04e9015..4ac024501e 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -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(node->data.getRaw()); diff --git a/src/http.cc b/src/http.cc index 7689057a5b..3251dfa9b1 100644 --- a/src/http.cc +++ b/src/http.cc @@ -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; }