how can I read old varnish logs?

Dridi Boukelmoune dridi at varni.sh
Mon Aug 28 17:06:27 CEST 2017


On Mon, Aug 28, 2017 at 4:39 PM, John Cherouvim <jc at eworx.gr> wrote:
> Yes, that worked. I am sorry for the confusion but, yes, it seems that my
> modified logrotate configuration broke the log:
>
>> /var/log/varnish/varnish.log {
>>     compress
>>     compresscmd /bin/gzip
>>     uncompresscmd /bin/gunzip
>>     compressext gz
>>     dateext
>>     dateformat .%Y-%m-%d.
>>     daily
>>     rotate 7
>>     ifempty
>>     missingok
>>     copytruncate
>> }
>
>
> Will fix that. Thanks for your time.

I'm not sure _your_ logrotate config is to blame, but glad to see it
worked out. I suppose this is something off, you are not sending the
SIGHUP signal (see man varnishlog).

Cheers



More information about the varnish-misc mailing list