Log Rotate and *NIX

This has changed since my days at Pyramid. There has been quite a lot of thinking and engineering about dealing with daemon logs. The places to look are via the syslogd, newsyslog project, you can see a the newsyslog man pages and using the keyword “rotate log”. The idea is that logs are rotated, although the names are not and that old logs are deleted. So the newest is called mypackage or mypackage.0 and the older logs increment the counter. Logs are generally kept in /var/log or /var/log/package_name and not in the package or product install tree. What a nob? There is a command ‘logrotate’; it can be installed using macports. It needs a a configuration file. Continue reading “Log Rotate and *NIX”

Snipsnap & Ubuntu

I decided to make an install of Snipsnap on my favourite Linux. I am using Ubuntu 9.0. This snip talks about how to, and configuring the rc.d files. It must be pretty useless now, and I have marked it deprecated and is another page that points at my mirror and thus needs to acknowledge that the source is now on github,  https://github.com/thinkberg/snipsnap Continue reading “Snipsnap & Ubuntu”