Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Manage the periodic logs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Manage the periodic logs
Authored by: arcticmac on Jul 25, '08 11:29:41AM

Really, you should not be disabling logging. Sure you don't want them now, but really, that's true of most log files until something screws up. And if it's something really bad, you'll kinda want to know.

And if you had 0.5GB log files, it would be time to read through them all to figure out why something was that badly broken. Fortunately yours are, as pointed out by others, more like 0.5MB.

As far as keeping those logs under control goes, newsyslog (which is run hourly by launchd) should, at least in theory, be responsible for rotating the periodic logs. In practice however it does seem that they are actually rotated, and there's no indication in the config files that it's actually configured to do so. I have three systems here, and all of them have entries in daily.out from the first day they were installed (though granted, it wasn't all that long ago). I think the easiest fix might just be to add entries to /etc/newsyslog.conf for them, and while you're at it you might look into the issue with system.log not being rolled over.



[ Reply to This | # ]