Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 581219F75 for ; Wed, 30 Nov 2011 17:03:00 +0000 (UTC) Received: (qmail 41527 invoked by uid 500); 30 Nov 2011 17:02:56 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 41502 invoked by uid 500); 30 Nov 2011 17:02:56 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 41494 invoked by uid 99); 30 Nov 2011 17:02:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 17:02:56 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of james.rapp@sap.com designates 155.56.66.98 as permitted sender) Received: from [155.56.66.98] (HELO smtpgw.sap-ag.de) (155.56.66.98) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 17:02:48 +0000 From: "Rapp, James" To: "users@httpd.apache.org" Date: Wed, 30 Nov 2011 12:02:13 -0500 Thread-Topic: Logging for mod_cache in Apache 2.2 Thread-Index: Acyvgc5x/FDsWBdoRtSmbq6HNAU+Xg== Message-ID: <20EF8AF232A1994CAC64372604284F084E8DE3D633@USPHLECCR02.phl.sap.corp> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-puzzleid: {88D9546B-DCDE-4910-B7CF-B73997F8F217} x-cr-hashedpuzzle: sK0= CC6c DbKN D90e FAlz Fha+ F5mG GyQY G5xr G6XN H0j1 I1zl JIHn JfwZ JzWB KAn2;1;dQBzAGUAcgBzAEAAaAB0AHQAcABkAC4AYQBwAGEAYwBoAGUALgBvAHIAZwA=;Sosha1_v1;7;{88D9546B-DCDE-4910-B7CF-B73997F8F217};agBhAG0AZQBzAC4AcgBhAHAAcABAAHMAYQBwAC4AYwBvAG0A;Wed, 30 Nov 2011 17:02:13 GMT;TABvAGcAZwBpAG4AZwAgAGYAbwByACAAbQBvAGQAXwBjAGEAYwBoAGUAIABpAG4AIABBAHAAYQBjAGgAZQAgADIALgAyAA== acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Logging for mod_cache in Apache 2.2 Hello, This is my first attempt at posting to the users mailing list so my apologi= es if I've made a mistake in my approach. I have integrated mod_cache into my application successfully and can confir= m it is working properly by monitoring the cacheroot directory and by notin= g cached response headers on my requests (such as receiving an out of date = max-age value even after changing the corresponding mod_headers value in my= httpd.conf). =20 I feel I could offer a significantly better value proposition for Productio= n usage, however, if I were able to generate a log of cache-hit vs. cache-m= iss statistics for my application such as the functionality documented in t= he Apache 2.3 beta here: http://httpd.apache.org/docs/2.3/mod/mod_cache.html#status I have seen some of the solutions proposed on google, such as the SetEnv CA= CHE_MISS 1 solution proposed by Alex Polvi/Paul Querna but would prefer a n= ative approach if possible. There is also a section in the 2.3 docs under = conditional logs that references this process but nothing I could find for = 2.2. My question is, has anybody experienced a similar requirement and know if i= t would be possible to implement the 2.3 logging functionality into the 2.2= module? I admit I am not much of a Developer, but if someone had already = attempted this or could provide some high-level guidance I might be able to= modify the module and re-build it. Thanks, James Rapp Senior Ecosystem Quality Manager, Global Ecosystem and Delivery Partners,= =A0=A0 AGS Primary Support --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org