Quote:
Originally Posted by catkin
Will reply now we have some breathing space. Which logs? I didn't spot any big logs not being rotated.
|
The logs are rotated in periodically but not compressed.
refer the following site for logrotation
http://www.cyberciti.biz/faq/how-do-i-rotate-log-files/
Please take some clear notes about these parameters
sample:-
PHP Code:
/var/log/httpd/*.log {
weekly
rotate 3
compress
missingok
notifempty
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true endscript
}