W3C like format logging

Guillaume Quintard guillaume at varnish-software.com
Tue May 24 17:53:56 CEST 2016


My bad, you don't need std.log at all (sorry, I was distracted)

It boils down to:

sub vcl_hit {
set req.http.x-state = "HIT";
}
sub vcl_miss {
set req.http.x-state = "MISS";
}
sub vcl_pass {
set req.http.x-state = "PASS";
}

And getting that x-state header in varnishncsa.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160524/59b678a7/attachment.html>


More information about the varnish-misc mailing list