[squid-users] Re: logrotate with SMP problem !!!

From: Dr.x <ahmed.zaeem_at_netstream.ps>
Date: Sun, 17 Nov 2013 10:20:05 -0800 (PST)

Eliezer Croitoru-2 wrote
> Hey,
>
> What is the content of the file "/etc/logrotate.d/squid"
>
> Eliezer
>
> On 17/11/13 17:09, Dr.x wrote:
>> hi all ,
>> ive configured squid to be logrotated from script in
>> /etc/logrotate.d/squid
>> but ,
>> logrotating is not working fine !
>>
>>
>>
>> logrotate is rotating the logs ,
>> but ..................................
>>
>> it keeping files with numbered names !!!

[root_at_squid ~]# cat /etc/logrotate.d/squid
/var/log/squid/*.log {
daily
rotate 0
missingok
create 640 squid adm
sharedscripts
postrotate
test ! -e /var/run/squid.pid || /usr/sbin/squid -k rotate

endscript
}
[root_at_squid ~]#

-----
Dr.x

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/logrotate-with-SMP-problem-tp4663333p4663336.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Sun Nov 17 2013 - 18:20:47 MST

This archive was generated by hypermail 2.2.0 : Sun Nov 17 2013 - 12:00:04 MST