[Varnish] #1742: varnishlog -B produces a file varnishlog -r cannot read

Varnish varnish-bugs at varnish-cache.org
Fri May 29 11:59:16 CEST 2015

#1742: varnishlog -B produces a file varnishlog -r cannot read
 Reporter:  Dridi       |       Owner:
     Type:  defect      |      Status:  new
 Priority:  normal      |   Milestone:
Component:  varnishlog  |     Version:  4.0.3
 Severity:  normal      |  Resolution:
 Keywords:  vsl vsm     |

Comment (by Dridi):

 OK, {{{-B}}} works with {{{-w}}}, but the man page doesn't make the
 combination obvious:


 -B     Output binary data suitable for reading with -r.


 -r filename
        Read log in binary file format from this file.


 -w filename
        Redirect output to file. The file will be overwritten unless the
        -a  option  was  specified. If the application receives a SIGHUP
        the file will be reopened allowing the old  one  to  be  rotated


Ticket URL: <https://www.varnish-cache.org/trac/ticket/1742#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list