Phillip Pearson - web + electronics notes

tech notes and web hackery from a new zealander who was vaguely useful on the web back in 2002 (see: python community server, the blogging ecosystem, the new zealand coffee review, 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: []