Mozilla OpenNews | #opennews on IRC.Mozilla
Operated by Mike Tigas (@mtigas)
Constant work-in-progress.
This is a simple Python-based log bot that tracks #opennews on IRC.Mozilla.
This bot runs persistently on an EC2 server (in a screen
session because of
laziness), with a 15 minute cron job that runs the s3dir.py
utility to upload
the logs to S3:
# m h dom mon dow command
*/15 * * * * python /home/ubuntu/logbot/s3dir.py >> /home/ubuntu/s3log.txt
The S3 bucket is configured to use “website mode” (so "index.html" serves the directory) and served on a CNAME for easy access.
That’s it.
Originally written by Chris Oliver chris@excid3.com. Additions by
Mike Tigas. See LICENSE
.