logging request time

Tollef Fog Heen tfheen at varnish-software.com
Wed Oct 24 10:17:46 CEST 2012

]] Vladimir Stavrinov

> Is subj possible? i.e. if there available variables like $request_time
> in nginx or %T, or %D in apache? I do believe that std.log(key:value)
> may be used to output this value into ncsa log via %{VCL_Log:key)
> formatter, but question is where to get this value from?

There's currently no support for the time for the full request.  You can
use %{Varnish:time_firstbyte}x in the format string for the time to
first byte.

Tollef Fog Heen
Technical lead | Varnish Software AS
t: +47 21 98 92 64
We Make Websites Fly!

More information about the varnish-misc mailing list