how can I read old varnish logs?

Dridi Boukelmoune dridi at varni.sh
Mon Aug 28 15:50:55 CEST 2017


On Mon, Aug 28, 2017 at 3:05 PM, John Cherouvim <jc at eworx.gr> wrote:
>> 00000000  12 00 00 4c 63 b6 4e 40  72 65 71 20 35 31 35 38  |...Lc.N at req
>> 5158|

This is weird, you are missing 4 magic bytes at the beginning of the
file. It could be that the logrotate integration is fundamentally
broken.

Does this work for you?

    $ (printf 'VSL\0' | cat - some_extracted_file) >some_fixed_file
    $ varnishlog -r some_fixed_file

Dridi



More information about the varnish-misc mailing list