vsl man page
VSL — Varnish Shared Memory Logging
This document describes the format and content of all the Varnish shared memory logging tags. These tags are used by the varnishlog(1), varnishtop(1), etc. logging tools supplied with Varnish.
Timestamps are inserted in the log on completing certain events during the worker thread's task handling. The timestamps has a label showing which event was completed. The reported fields show the absolute time of the event, the time spent since the start of the task and the time spent since the last timestamp was logged.
The timestamps logged automatically by Varnish are inserted after completing events that are expected to have delays (e.g. network IO or spending time on a waitinglist). Timestamps can also be inserted from VCL using the std.timestamp() method. If one is doing time consuming tasks in the VCL configuration, it's a good idea to log a timestamp after completing that task. This keeps the timing information in subsequent timestamps from including the time spent on the VCL event.
Request handling timestamps
The start of request processing (first byte received or restart).
Complete client request received.
Client request body processed (discarded, cached or passed to the backend).
Came off waitinglist.
Fetch processing finished (completely fetched or ready for streaming).
Processing finished, ready to deliver the client response.
Delivery of response to the client finished.
Client request is being restarted.
Pipe handling timestamps
Opened a pipe to the backend and forwarded the request.
The pipe session has finished.
Backend fetch timestamps
Start of the backend fetch processing.
Backend request sent.
Backend response headers received.
Backend response body received.
Backend request is being retried.
Backend request failed to vcl_backend_error.
This document was initially written by Poul-Henning Kamp, and later updated by Martin Blix Grydeland.
This document is licensed under the same licence as Varnish itself. See LICENCE for details.
- Copyright (c) 2006 Verdens Gang AS
- Copyright (c) 2006-2015 Varnish Software AS
varnishd(1), varnishhist(1), varnishlog(1), varnishncsa(1), vmod_proxy(3), vmod_std(3).