From: Amos Jeffries Date: Wed, 30 Mar 2011 12:44:19 +0000 (-0600) Subject: Log details of the stored object when locates a Date:-less object in cache X-Git-Tag: SQUID_3_1_12~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c734343476e158015b5cd354d2c086b3d805e61;p=thirdparty%2Fsquid.git Log details of the stored object when locates a Date:-less object in cache These details are difficult to find afterward and required to track down the bug that caused them to be cached. --- diff --git a/src/client_side_reply.cc b/src/client_side_reply.cc index a0af8e126a..8eb7e86e29 100644 --- a/src/client_side_reply.cc +++ b/src/client_side_reply.cc @@ -1329,8 +1329,9 @@ clientReplyContext::buildReplyHeader() else if (http->storeEntry()->timestamp > 0) hdr->insertTime(HDR_DATE, http->storeEntry()->timestamp); else { - debugs(88,1,"WARNING: An error inside Squid has caused an HTTP reply without Date:. Please report this"); - /* TODO: dump something useful about the problem */ + debugs(88,DBG_IMPORTANT,"WARNING: An error inside Squid has caused an HTTP reply without Date:. Please report this:"); + /* dump something useful about the problem */ + http->storeEntry()->dump(DBG_IMPORTANT); } }