[Varnish] #646: [PATCH] Log hits only with varnishncsa
    Varnish 
    varnish-bugs at varnish-cache.org
       
    Tue Nov  2 11:04:36 CET 2010
    
    
  
#646: [PATCH] Log hits only with varnishncsa
------------------------+---------------------------------------------------
  Reporter:  bmizerany  |        Type:  enhancement
    Status:  closed     |    Priority:  normal     
 Milestone:             |   Component:  varnishncsa
   Version:  trunk      |    Severity:  normal     
Resolution:  fixed      |    Keywords:             
------------------------+---------------------------------------------------
Changes (by tfheen):
  * status:  new => closed
  * resolution:  => fixed
Old description:
> I've added the ability log only cache hits with varnishncsa.
>
>    varnishncsa -H
>
> This is a very useful feature when debugging and even for production
> logging, of which I use both.
>
> I would love to see this be part of stock varnish.
>
> I'm very open to ideas on how to be a little more general about this.
> Maybe getting -i to work; I was unable too.
>
>    varnishncsa -i Hit
>
> Thoughts?
New description:
 I've added the ability log only cache hits with varnishncsa.
    varnishncsa -H
 This is a very useful feature when debugging and even for production
 logging, of which I use both.
 I would love to see this be part of stock varnish.
 I'm very open to ideas on how to be a little more general about this.
 Maybe getting -i to work; I was unable too.
    varnishncsa -i Hit
 Thoughts?
--
Comment:
 You can accomplish this by doing varnishncsa -o VCL_call hit in trunk now,
 so closing this bug.
-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/646#comment:1>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
    
    
More information about the varnish-bugs
mailing list