Version 10 (modified by solo turn, 9 years ago) (diff)


IRC Logs Plugin

Notice: This plugin is unmaintained and available for adoption.


Display logs of an IRC channel in trac

Bugs/Feature Requests

Existing bugs and feature requests for IrcLogsPlugin are here. If you have any issues, create a new ticket.

Download and Source

Download the [download:irclogsplugin zipped source], check out using Subversion, or browse the source with Trac.


Run "easy_install" for 0.10.4 trac installations

Run "easy_install" for 0.11+ trac installations

The IrcLogsPlugin depends on the python indexer. (It is installed automatically by easy_install)


In your trac.ini file add these:

Under [Components], add:

 irclogs.irclogsplugin = enabled

Under [irclogs], add:

 path = /path/to/log/file/ChannelLogger 
 indexer = builtin:///var/www/trac/indexer/irclogs.idx?cache=true
 prefix = #roomname

This module was written assuming the use of supybot logs. You will need to configure your supybot to output in the correct format (these are not the default for supybot):

 config supybot.log.timestampformat %Y-%m-%d %H:%M:%S |
 config supybot.plugins.channellogger true
 config supybot.plugins.channellogger.directories false
 config supybot.plugins.channellogger.filenametimestamp %Y%m%d
 config supybot.plugins.channellogger.rotatelogs true

To (re)index your log files, use this pydexter indexing python script. Be sure to edit the two variables for file locations in the script.

Recent Changes

16464 by rjollos on 2017-04-04 07:26:28
Fix indentation
7149 by doki_pen on 2009-11-16 15:19:06
don't be an idiot.

only window.location.href = window.location.href if
there's a hash.

7103 by doki_pen on 2009-11-06 21:17:38
Added hash refresh after css loading


Author: mitsuhiko
Contributors: pacopablo


[23:42] <Rica|Coding> Someone know the IRCLogs plugin ?
[23:43] <Rica|Coding> (and have some info about it... nothing interresting on the wiki page...) Should the log be available before processing ? or Does the plugin connect to some channels ?
[23:43] <pacopablo> Rica|Coding: it just renders logs
[23:43] <pacopablo> specifically supy bot logs
[23:44] <Rica|Coding> ^^ok
[23:44] <pacopablo> you'll need a bot to creat the logs before the plugin is sueful

Attachments (1)

Download all attachments as: .zip