This is Proof-of-Concept software not ready for general consumption.
A XMMP (Jabber) bot that writes (logs) messages sent to it in a database. Written in Python.
type python jabberlogbot.py -h
xmpppy MySQLdb pythonutils
the viewer.php is a web interface for viewing logs.
This program uses jabberbot by Thomas Perl thp@thpinfo.com which was obtained from http://thpinfo.com/2007/python-jabberbot/