I have a service based on parsing apache access logs, so I need to log there even when Vanish is turned on.
No I just simply tell Varnish to do not cache specific urls:
if (req.url ~ "(foo|bar)") return(pass); }
But it's heavy on resources and it should be cached. Is there any posibility to log a request on apache access log when Varnish returns a cached copy to client?