Hi
On 6/3/07, Bob Marcan bob.marcan@interstudio.homeunix.net wrote:
man logrotate.8 ... "/var/log/httpd/access.log" /var/log/httpd/error.log { rotate 5 mail www@my.org size=100k sharedscripts postrotate /sbin/killall -HUP httpd endscript }
i tried this in my logrotate but still it doesn't rotate by size here's my squid logrotate file
/var/log/squid/access.log { # weekly rotate 5 copytruncate compress notifempty missingok size=1000M postrotate /usr/sbin/squid -k rotate #/sbin/killall -HUP squid endscript
im not sure if i killall -HUP or just run squid -k rotate
thanks!