Re: [squid-users] RELEASE/304 messages in store.log

From: Adrian Chadd <adrian@dont-contact.us>
Date: Fri, 7 Mar 2008 13:23:05 +0900

On Wed, Mar 05, 2008, Chris Woodfield wrote:
> You are correct, this appears to be what is happening.
>
> This breaks my initial assumptions about store.log entries, however -
> instead of only logging objects either stored or removed from cache,
> it's logging the "disposition" of each incoming request, showing
> whether or not the request is cached or not. Is this a correct
> understanding, or is it even more involved than that?
>
> More specifically, if we use cache ACLs to declare certain objects
> uncacheable, will they get logged with RELEASE lines in store.log as
> well?
>
> Also, is there a way to only log objects that are added or removed
> from cache storage?

With a bit of source hackery, sure. I forget if there's a way to tell
whether objects have been released from disk/memory storage at the moment
as I think a store key change / "make private" change won't generate
a log entry. I'd have to check though.

Adrian

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
Received on Thu Mar 06 2008 - 21:08:34 MST

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT