[master] b3e08ac Update forgotten varnishlog example to 4.0 syntax.

Dag Haavi Finstad daghf at varnish-software.com
Mon Oct 13 13:57:00 CEST 2014


commit b3e08acc60e1c5652ce5f82cf84f26cc917341b9
Author: Dag Haavi Finstad <daghf at varnish-software.com>
Date:   Mon Oct 13 13:55:59 2014 +0200

    Update forgotten varnishlog example to 4.0 syntax.
    
    Fixes: #1610

diff --git a/doc/sphinx/users-guide/troubleshooting.rst b/doc/sphinx/users-guide/troubleshooting.rst
index d05b9d6..4be7543 100644
--- a/doc/sphinx/users-guide/troubleshooting.rst
+++ b/doc/sphinx/users-guide/troubleshooting.rst
@@ -106,16 +106,17 @@ give you a clue. Since `varnishlog` logs a lot of data it might be hard
 to track the entries down. You can set `varnishlog` to log all your 503
 errors by issuing the following command::
 
-   $ varnishlog -c -m TxStatus:503
+   $ varnishlog -q 'RespStatus == 503' -g request
 
 If the error happened just a short time ago the transaction might still
 be in the shared memory log segment. To get `varnishlog` to process the
 whole shared memory log just add the '-d' parameter::
 
-   $ varnishlog -d -c -m TxStatus:503
+   $ varnishlog -d -q 'RespStatus == 503' -g request
 
-Please see the `varnishlog` man page for elaborations on further
-filtering capabilities and explanation of the various options.
+Please see the `vsl-query` and `varnishlog` man pages for elaborations
+on further filtering capabilities and explanation of the various
+options.
 
 
 Varnish doesn't cache



More information about the varnish-commit mailing list