Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 10212 invoked from network); 6 Dec 2005 21:12:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Dec 2005 21:12:13 -0000 Received: (qmail 23602 invoked by uid 500); 6 Dec 2005 21:12:01 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 23534 invoked by uid 500); 6 Dec 2005 21:12:00 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 23508 invoked by uid 99); 6 Dec 2005 21:12:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 13:12:00 -0800 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 06 Dec 2005 13:11:59 -0800 Received: (qmail 9658 invoked by uid 2161); 6 Dec 2005 21:11:38 -0000 Received: from [192.168.2.4] (euler.heimnetz.de [192.168.2.4]) by cerberus.heimnetz.de (Postfix on SuSE Linux 7.0 (i386)) with ESMTP id 105AB1721C for ; Tue, 6 Dec 2005 22:11:20 +0100 (CET) Message-ID: <4395FE85.6070109@apache.org> Date: Tue, 06 Dec 2005 22:11:33 +0100 From: Ruediger Pluem User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 X-Accept-Language: de, en, de-de, en-gb, cy, zu, xh MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: mod_cache debug request References: <4395DE98.5060102@web.turner.com> In-Reply-To: <4395DE98.5060102@web.turner.com> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 12/06/2005 07:55 PM, Brian Akins wrote: > Can we have mod_cache (and its providers) log why it didn't serve an > object from cache in debug? > First entry I see when requesting an object I know is cached is: > > [Tue Dec 06 13:53:55 2005] [debug] mod_cache.c(129): Adding CACHE_SAVE > filter for /cnn/1.gif > > no reason why we chose not to serve from cache... There are already some log messages (DEBUG and ERROR) in cache_select of cache_storage.c. I have to admit that not all reasons to decline serving an object from the cache emit an message. Feel free to add some more to cache_select and sent a patch. I will review and commit it. Regards R�diger