W3C Extented Log Format

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Oct 24 17:37:38 CEST 2007

In message <33afbbe70710240833i537949e4kc21f3d11034a1d03 at mail.gmail.com>, "Cale
b Anthony" writes:
>On 10/24/07, Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
>> >s-ip (server ip)
>> >s-port (server port)
>> We don't log these right now, but we can do that relatively easily,
>> they need to go into the SessionOpen log record.
>> Open a ticket in our track record about this.
>Thanks for the quick reply.
>I have created an account on Trac. My username is "Caleb". Give me
>access, and I'll create a ticket about the s-ip s-port issue.


>Both the W3C and Microsoft documentation states that this is the time
>taken for the transaction to complete. So it looks like the total time
>from connection open to response sent would be good for this field.
>Using varnishlog -i ReqEnd I get the following information:
>15 ReqEnd       c 1517105057 1193239772.341682196 1193239772.460953236
>0.000179291 0.119204998 0.000066042

Then you want the difference between the two timestamps, in this case:
	1193239772.460953236 - 1193239772.341682196 = .119271040 [s]

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-dev mailing list