[Varnish] #1742: varnishlog -B produces a file varnishlog -r cannot read
Varnish
varnish-bugs at varnish-cache.org
Thu May 28 19:36:38 CEST 2015
#1742: varnishlog -B produces a file varnishlog -r cannot read
---------------------+------------------------
Reporter: Dridi | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishlog
Version: 4.0.3 | Severity: normal
Keywords: vsl vsm |
---------------------+------------------------
I may use it wrongly, but I use varnishlog -N as a workaround.
{{{
varnishtest "varnishlog -r cannot read a file produced by varnishlog -B"
varnish v1 -arg "-b ${bad_ip}:80" -start
shell "${varnishlog} -n ${tmpdir}/v1 -d -B >${tmpdir}/output.vsl"
shell "${varnishlog} -r ${tmpdir}/output.vsl"
}}}
The error message:
{{{
Can't open log (VSL file read error: EOF
)
}}}
As a side note:
How about a {{{ ${v1_n_arg} }}} macro in varnishtest?
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1742>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list