Manage the periodic logs

September 1, 2008 by wizTEQ Staff  
Filed under Tip of The Day

macosxhints.com System tips

There has been some discussion here about the periodic maintenance tasks and making them run:

10.4: Reschedule periodic maintenance tasks
A simple shell script to run system maintenance tasks

What hasn’t so far been addressed is the logs themselves. I got very interested in these as I suddenly (under 10.4) couldn’t account for 5GB on my hard disk. It turns out that the primary culprit was the daily.out log file that had simply grown out of all proportions. The periodic logs are never cleaned up, and thus just grow in size each and every time the periodic maintenance tasks are run. For example:

[21:02:...

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!