[PATCH] log "total time" in varnishncsa

Klaus Brunner klaus.brunner at gmail.com
Tue Apr 16 15:24:36 CEST 2013


This is a patch against master to provide the "total time" log field
in varnishncsa (I posted a previous version of this against 3.0.3 back
in January). As requested by tfheen, now it doesn't add another
sscanf() call and the doc is updated:

https://gist.github.com/KlausBrunner/4175582#file-varnishncsa-request-time-vs-master-patch

Caveat: I've had to do some guesswork thanks to the new format of
ReqEnd log entries. It seems to work correctly based on my extremely
limited understanding of what CNT_Request() does, but I wouldn't bet a
Mars rover on it.

Klaus



More information about the varnish-dev mailing list