Re: [squid-users] Log rotate

2020-12-07 Thread Matus UHLAR - fantomas
On 07.12.20 12:52, sampe...@tiscali.it wrote: I manually installed Squid package 4.8-1 by yum utility while logrotate 3.8.6-19 was already installed. you are running squid -k rotate in postrotate too, so what is your question? When I installed Squid package, It’s has been created automatica

Re: [squid-users] Log rotate

2020-12-07 Thread sampe...@tiscali.it
> doesn't centos come with squid package, including logrotate config? I manually installed Squid package 4.8-1 by yum utility while logrotate 3.8.6-19 was already installed. > you are running squid -k rotate in postrotate too, so what is your question? When I installed Squid package, It’s has be

Re: [squid-users] Log rotate

2020-12-07 Thread Matus UHLAR - fantomas
On 07.12.20 10:35, sampe...@tiscali.it wrote: My OS is Centos 7. doesn't centos come with squid package, including logrotate config? But I manage rotation by logrotate, according to your suggestions in /etc/logrotate.d/squid, among postscript and endscript, there is written 'squid -k rotate’

Re: [squid-users] Log rotate

2020-12-07 Thread sampe...@tiscali.it
My OS is Centos 7. But I manage rotation by logrotate, according to your suggestions in /etc/logrotate.d/squid, among postscript and endscript, there is written 'squid -k rotate’ so you don’t invoke squid rotation too ?!? We have 2 rotations? > On 7 Dec 2020, at 10:08, Matus UHLAR - fantomas

Re: [squid-users] Log rotate

2020-12-07 Thread Matus UHLAR - fantomas
On 07.12.20 09:12, sampe...@tiscali.it wrote: I want to rotate access.log by logrotate system process so I disabled rotation in squid.conf, logfile_rotate has been set to zero; by logrotate I can compress log files and to name them with date suffix. But what I have to write among postrotate an