Changes between Version 8 and Version 9 of IrcLogsPlugin


Ignore:
Timestamp:
Mar 8, 2008 9:50:33 PM (6 years ago)
Author:
bwolfe
Comment:

Updating the documentation for irclogs configuration

Legend:

Unmodified
Added
Removed
Modified
  • IrcLogsPlugin

    v8 v9  
    3434 
    3535Under [Components], add: 
     36{{{ 
    3637 irclogs.irclogsplugin = enabled 
     38}}} 
    3739 
    3840Under [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 
    4344 prefix = #roomname 
     45}}} 
    4446 
    4547This 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}}} 
    4655 
    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. 
     56To (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. 
    5857 
    5958== Recent Changes ==