Phillip Pearson - Second p0st

tech notes and web hackery from the guy that brought you bzero, python community server, the blogging ecosystem, the new zealand coffee review and the internet topic exchange

2005-2-19

Make sure you rotate your logs!

Just found that pycs.net was down because the etc.log file had hit the filesystem's max file size. Oops!

Update: It's also nice to code your daemons so that they close and reopen their log files when you send them a SIGHUP. Then things like logrotate can do the log rotation work for you.

... more like this: []