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


Click here to return to the '10.5: Allow the system.log file to be rotated daily' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Allow the system.log file to be rotated daily
Authored by: ghay on Dec 19, '07 11:48:08AM

This is what happens when you start grabbing FreeBSD code!!
(Well server code and port to clients)

Apple had the forethought to run newsyslog under launchd to combat this problem, but didn't check to see that newsyslog will only rotate logs if you are within 1 hour of midnight!



[ Reply to This | # ]
10.5: Allow the system.log file to be rotated daily
Authored by: ghay on Dec 19, '07 11:51:46AM

It's worth noting that there is an interesting debate on the apple discussions forum, but it would seem newsyslog may even be run every hour, but again, rotation only occurs around midnight.



[ Reply to This | # ]
10.5: Allow the system.log file to be rotated daily
Authored by: chris_on_hints on Dec 20, '07 02:48:39PM

in the man page for newsyslog, it appears to imply that it is run every hour, but if you read it carefully it says that it *could* be run every hour because it is very light on resources.

that might be the source of the confusion



[ Reply to This | # ]