Changes between Version 8 and Version 9 of IrcLogsPlugin
- Timestamp:
- Mar 8, 2008, 8:50:33 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IrcLogsPlugin
v8 v9 34 34 35 35 Under [Components], add: 36 {{{ 36 37 irclogs.irclogsplugin = enabled 38 }}} 37 39 38 40 Under [irclogs], add: 39 path = /path/to/log/file/ChannelLogger 40 41 indexer = builtin:///tmp/pyndexter.idx 42 41 {{{ 42 path = /path/to/log/file/ChannelLogger 43 indexer = builtin:///var/www/trac/indexer/irclogs.idx?cache=true 43 44 prefix = #roomname 45 }}} 44 46 45 47 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): 48 {{{ 49 config supybot.log.timestampformat %Y-%m-%d %H:%M:%S | 50 config supybot.plugins.channellogger true 51 config supybot.plugins.channellogger.directories false 52 config supybot.plugins.channellogger.filenametimestamp %Y%m%d 53 config supybot.plugins.channellogger.rotatelogs true 54 }}} 46 55 47 config supybot.log.timestampformat %Y-%m-%d %H:%M:%S | 48 49 config supybot.plugins.channellogger true 50 51 config supybot.plugins.channellogger.directories false 52 53 config supybot.plugins.channellogger.filenametimestamp %Y%m%d 54 55 config supybot.plugins.channellogger.rotatelogs true 56 57 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. 56 To (re)index your log files, use this [attachment:"indexer.py" pydexter indexing python script]. Be sure to edit the two variables for file locations in the script. 58 57 59 58 == Recent Changes ==