----- Original Message -----
From: Michael Adams <[EMAIL PROTECTED]>
Date: Mon, 9 Dec 2002 17:39:57 +1300
To: [EMAIL PROTECTED]
Subject: Re: [newbie] question about log files


> On Mon, 09 Dec 2002 15:18, Angus Auld wrote:
> > ----- Original Message -----
> > From: Stephen Kuhn <[EMAIL PROTECTED]>
> > Date: 09 Dec 2002 13:01:20 +1100
> > To: [EMAIL PROTECTED]
> > Subject: Re: [newbie] question about log files
> >
> > > On Mon, 2002-12-09 at 12:43, Angus Auld wrote:
> > > > Greetings, another newbie question. :-)
> > > > This is something I have been wondering about for awhile. Is there a
> > > > program on my Mdk system that looks after log files? To keep them from
> > > > getting too large? Or is there a ceiling on how big these files can
> > > > get? Seems like wasted space after a while.
> > > >
> > > > My /var/log/messages & /var/log/syslog are 4.5 and 4.8mb respectively.
> > > > They have messages going back to my install date on Oct 4. Will these
> > > > files just continue to grow? I know, dumb question. But, inquiring
> > > > minds want to know.
> > > >
> > > > TIA for any feedback. :-)
> > > >
> > > > --Angus
> > >
> > > There is a "cap" on the logs, yes. The cap is directly determined by the
> > > amount of free space that you have left on your drive. Once the logfiles
> > > grow to such an extent as to compromise the available free space, the
> > > syslog daemon will then begin to delete unwanted binaries from your
> > > system, along with other unused and unproductive things like bookmarks,
> > > mp3 files, avi's, mpeg's, wallpapers, gif's, jpg's, user accounts and
> > > etc. There does come a time when the log files have grown so large that
> > > the actual OS itself, if it can't be compressed and run in RAM, is
> > > thence deleted itself, and upon next boot, you are notified that you
> > > should have maintained your log files from the very beginning by
> > > deleting the unwanted logfiles, or out of date log files. At that point,
> > > you have to completely reinstall and then configure your log files
> > > properly.
> > >
> > > --
> > I guess I better keep an eye on those files then, huh? ;-)
> >
> > This list is sure a lot of fun. I never had half this much fun when I used
> > that "other OS".
> >
> > --Angus
> 
> The program is called logrotate. If you leave your computer on overnight 
> Mandrake has automatically set cron to do the rotate once a week at 4am. The 
> config files are in /etc/logrotate.d/. For more info open your terminal and 
> "man logrotate".
> 
> Someone else my have already answered this but i have been horsing with my 
> kmail threading and don't know whic list mails i have glanced at and deleted. 
> -- 
> Michael
> 
**********************************************************************

Thanks ppl for all the valuable info. All stuff I didn't know............wasn't such a 
dumb question after all. ;-)

I'll leave my comp on overnight and let logrotate do it's thing.

All the best.


--Angus

How do you destroy a righteous person? Give him or her one follower! --ancient 
Cherokee saying (fr. "Earth Medicine" by Jamie Sams)

***********************************************
*Reg. Linux User #278931*
***********************************************
*Power by Mandrake Linux 9.0*
***********************************************
-- 
_______________________________________________
Get your free email from http://mymail.operamail.com

Powered by Outblaze

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to