Views
- State: published
ChannelLogger-database
This plugin is a full replacement for the old channellogger plugin.
Besides having the ability to log to a file, it can log to most databases through SQLObject.
Obviously you will need SQLObject ( http://sourceforge.net/projects/sqlobject/ ) and a database adapter ( ie. http://sourceforge.net/projects/mysql-python/ ) to make this work.
To use it, replace the old channellogger with this plugin, then
set supybot.plugins.ChannelLogger.database True
set supybot.plugins.ChannelLogger.database.URI <Your DB URI>
where <Your DB URI> looks like this:
scheme://[user[:password]@]host[:port]/database[?parameters]
Examples:
mysql://user:password@host/database
mysql://host/database?debug=1
postgres://user@host/database?debug=&cache=
postgres:///full/path/to/socket/database
postgres://host:5432/database
sqlite:///full/path/to/database
sqlite:/C|/full/path/to/database
sqlite:/:memory:
Latest release
1.0 — Tested with Mysql but it should work with anything SQLObject supports ( or its their fault^^ ). You can contact me on freenode, THC4k.