Commit a3cc90d3 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

doc: Mention VSL changes

parent 7c3f0173
......@@ -47,7 +47,13 @@ VMODs
varnishlog
==========
**XXX changes concerning varnishlog(1) and/or vsl(7)**
The ``BackendReuse`` log record has been retired. It was inconsistently named
compared to other places like stat counters where we use the words reuse and
recycle (it should have been named ``BackendRecycle`` if anything).
The ``BackendOpen`` record can now tell whether the connection to the backend
was opened or reused from the pool, and the ``BackendClose`` record will tell
whether the connection was effectively closed or recycled into the pool.
varnishadm
==========
......
......@@ -61,4 +61,16 @@ After::
}
}
VSL
===
If you need to build VSL queries that depend on ``BackendReuse`` you can
now rely on ``BackendClose``, for example::
varnishlog -q 'BackendReuse[2] ~ www'
The new query would be::
varnishlog -q 'BackendClose[2] ~ www and BackendClose[3] eq recycle'
*eof*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment