https://bugzilla.novell.com/show_bug.cgi?id=388088
User lyeoh@inter-touch.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=388088#c6
--- Comment #6 from Lincoln Yeoh 2008-05-10 09:51:55 MST ---
We have changed /etc/logrotate.d/squid
To:
/var/log/squid/cache.log {
compress
dateext
maxage 365
rotate 99
size=+1024k
notifempty
missingok
create 640 squid root
sharedscripts
postrotate
/usr/sbin/squid -k rotate
endscript
}
/var/log/squid/access.log {
compress
dateext
maxage 365
rotate 99
size=+4096k
notifempty
missingok
create 640 squid root
sharedscripts
postrotate
/usr/sbin/squid -k rotate
endscript
}
/var/log/squid/store.log {
compress
dateext
maxage 365
rotate 99
size=+4096k
notifempty
missingok
create 640 squid root
sharedscripts
postrotate
/usr/sbin/squid -k rotate
endscript
}
--
This appears to rotate logs successfully for us while avoiding the squid
rebind, and thus hopefully the problem.
Not sure if this problem will occur for a /etc/init.d/squid restart
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.