Changes between Version 7 and Version 8 of IrcLogsPlugin


Ignore:
Timestamp:
Mar 8, 2008, 8:45:38 PM (16 years ago)
Author:
Ben Wolfe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IrcLogsPlugin

    v7 v8  
    3737
    3838Under [irclogs], add:
    39  path = /path/to/log/file/ChannelLogger/freenode/#room
     39 path = /path/to/log/file/ChannelLogger
    4040 
    4141 indexer = builtin:///tmp/pyndexter.idx
    4242 
    43  prefix = someprefixstring
     43 prefix = #roomname
     44
     45This 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):
     46
     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
     57To (re)index your log files, use this pydexter indexing python script.  Be sure to edit the two variables for file locations in the script.
    4458
    4559== Recent Changes ==