Hi all, VCL_trace is useful at debugging. But, VCL_trace don't have source information.
# varnishlog -g raw -i vcl_trace
224399237 VCL_trace c 41 134.3
224399237 VCL_trace c 42 136.1
...
This patch add -t option in the varnishadm vcl.show.
-t option displays the VGC_ref.
$ sudo varnishadm vcl.show -t boot
index source line pos token
1 0 26 1 "}"
2 0 33 1 "}"
3 0 40 1 "}"
4 1 48 5 "if"
5 1 50 9 "return"
6 1 52 5 "if"
7 1 60 9 "return"
8 1 63 5 "if"
...
Can know the exact position by combining the vcl.show -v.
Regards,
--
Shohei Tanaka(@xcir)
http://xcir.net/
0001-varnishadm-print-VGC_ref-vcl.show-t.patch
Description: Binary data
_______________________________________________ varnish-dev mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
