Varnish Log - Logrotate issue
sujith pv
sujithnss at gmail.com
Wed Jun 29 13:30:02 CEST 2016
Hi
Actually I have installed Varnish from tar not as a RPM install. Also
please find the below my logrotate file
*/u01/varnishapp/log/*.log { daily rotate 1 maxage
6 compress missingok notifempty copytruncate create 0664
svc_varnish svc_varnish }*
Also I'm using the below command to manually start my log file
/bin/varnishlog >> /log/varnish.log &
On Wed, Jun 29, 2016 at 1:30 PM, Tom Anheyer <Tom.Anheyer at berlinonline.de>
wrote:
> Our logrotate conf:
>
> /var/log/varnish/*.log {
> daily
> maxage 7
> missingok
> notifempty
> sharedscripts
> su root root
> postrotate
> /usr/bin/systemctl restart varnishlog
> endscript
> }
>
>
> tom
>
>
> Am 29.06.2016 um 08:37 schrieb sujith pv:
>
>> Hi Team
>>
>> I'm facing an issue with Varnish log stops writing the log post the
>> logrotate happens. varnish.log file becomes zero Kbs and nothing gets
>> written onto it. Every time I ends up in killing the varnishlog process
>> and redo it,
>>
>> Any help would be much appreciable...
>>
>> Best Regards
>> Sujith P V
>>
>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc at varnish-cache.org
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>
>
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160629/849e0a17/attachment.html>
More information about the varnish-misc
mailing list