Thanks, much useful and interesting information. Especially useful, the way of leaving the file empty after deleting its contents in case it needs to be written to. (Wonder if using a utility like Onyx to delete log files will delete the contents that way, leaving the file still there but empty?)
But several questions remain: When I checked to see the last time any of these scripts ran using
ls -al /var/log/*.out I saw that none of them had been run for two and a half months (the computer is shutdown at these times). They are supposed to run anyway in Leopard, at the next opportunity, right? Doesn't happen, so I've been doing it manually now.
But what I don't understand is I remember seeing that they were getting turned over during this period, at least sometimes. What was doing that? Was that syslogd? What is its function? Is that duplicating what periodic daily does? Does syslogd execute to turn over logs at a set time, and is it independent of the period scripts; i.e. will the System Logs get turned over, if needed, if the computer is on at midnight,
even if the periodic scripts never run? And if syslogd is assigned to do that, then how can logs grow out of control?
Quote:
The daily periodic scripts, among other things, rotates, compresses, and deletes old logs in some folders, such as /var/log.
The System Logs, among others, reside in /var/log, so whoever said the periodic scripts don't address the System Logs in Leopard is wrong then, correct?