LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mgetty.log.9600 growing to large, how to manage? (https://www.linuxquestions.org/questions/linux-newbie-8/mgetty-log-9600-growing-to-large-how-to-manage-587741/)

dgr 09-27-2007 09:24 AM

mgetty.log.9600 growing to large, how to manage?
 
hello,

we have this file mgetty.log.9600 in /var/log that's been growing in size every day since we setup a RH linux server for our main CRM app in July of this year. It's up to 79.6 MB in size at present and gets added to constantly.
Is there a way to control it's size so it's automatically clears itself out every week?

thanks in advance,
david

almatic 09-27-2007 02:54 PM

man logrotate

dgr 09-28-2007 07:35 AM

I've looked at the logrotate online manual.
Could you give an example of how to rotate the mgetty.log.9600 file once a week?
thanks,
david

dgr 01-16-2008 02:25 PM

help rotating mgett.log.9600
 
Could anyone provide me instruction/give an example of how to rotate the mgetty.log.9600 file once a week?
Right now our file is at 99.9MB and slowing down logins on the system.
thanks,
david


All times are GMT -5. The time now is 07:53 PM.