LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   disable log rotation in site (https://www.linuxquestions.org/questions/linux-general-1/disable-log-rotation-in-site-76531/)

krishn 07-28-2003 02:29 AM

disable log rotation in site
 
hi friends

I want to disable log rotation in individual site. please help me how to do it

thanks

cnjohnson 07-28-2003 07:53 AM

Re: disable log rotation in site
 
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


All times are GMT -5. The time now is 01:12 PM.