Quote:
Originally posted by krishn
hi friends
I want to disable log rotation in individual site. please help me how to do it
thanks
|
You have several options, but the easiest is to disable logrotate in the cron that calls it into action. Try looking here for a start:
/etc/cron.daily/logrotate
You can also disable each log rotation so that logrotate is called but has nothing to do. Look in places like this for that:
/etc/logrotate.d
/etc/logrotate.d/linuxconf
/etc/logrotate.d/syslog
/etc/logrotate.d/rpm
/etc/logrotate.d/up2date
/etc/logrotate.d/samba
/etc/logrotate.d/ftpd
/etc/logrotate.d/apache
/etc/logrotate.d/squid
/etc/logrotate.d/named
/etc/logrotate.d/mysqld
/etc/logrotate.conf
Cheers--
Charles