On Thu, Mar 14, 2013 at 08:01:12AM -0400, Eric Cooper wrote: > Sorry, I just realized you were asking for cache hit notification when > $verbose, but not $debug, is true.
Thanks for bearing with me! > I'm willing to reconsider that, along with client information in each > log message. I'll look into how squid does it and see if that would > be appropriate. I am not sure whether the squid log messages are that useful to look into. So I summarize the properties that I find useful about them: * one line per request * fixed set of fields + time of day (syslog already does this) + source (currently only with $debug) + length (absent) + service time (absent, not that useful for approx) + hit/miss (only misses logged atm) + uri (present) Another example of such a log is apache. It has a different format, but the general idea is the same. Using a common format has the additional benefit of being able to reuse existing tools, but likely comes at the cost of no longer being able to use syslog. I am not sure whether this is really worth the effort. As a compromise I'd suggest to keep logging to syslog, but prefix all per-request messages with a common string such that they are easily recognizable (for a log analyzer). Helmut -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org