Hello everyone,
with "varnishlog -c -o" from version 2.1.5, we have an empty line
separating each log entries group by request ID (which makes it easier
to read)
This empty line is gone in 3.0.2, why is that ?
It was a very convenient way of parsing data (as mentioned in
https://www.varnish-cache.org/trac/wiki/VarnishlogExamples
<https://www.varnish-cache.org/trac/wiki/VarnishlogExamples>):
varnishlog -c -o|perl -ne 'BEGIN { $/ = "";} print if (/RxURL.*\/$/m);'
We find a work around in varnish-3.0.2:
varnishlog -c -o|awk '{if ($1!=a) {print ""}print $0}{a=$1}'|perl -ne
'BEGIN { $/ = "";} print if (/RxURL.*\/$/m);'
Would it be great to have the same thing in 3.0.2 or at least through
an additional parameter ?
Have a good day,
Jean-Christophe Petit
Syspark inc.
--
Jean-Christophe Petit
Syspark inc.
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc