Changes between Version 26 and Version 27 of IrcLogsPlugin
- Timestamp:
- Mar 25, 2016, 7:06:29 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IrcLogsPlugin
v26 v27 22 22 23 23 * Search is not functional yet. 24 * Days without logs are no longer shaded in the calendar. This is because we are using the user's timezone and it's much harder to tell what days have logs without doing an insane amount of parsing on each request. I hope to have some caching in the future that will allow this feature to come back. For most people it's not a problem, because there is at least one message in their irc channel everyday.24 * Days without logs are no longer shaded in the calendar. This is because we are using the user's timezone and it's much harder to tell what days have logs without parsing each request. I hope to have some caching in the future that will allow this feature to come back. For most people it's not a problem, because there is at least one message in their irc channel every day. 25 25 26 26 == Bugs/Feature Requests 27 27 28 Existing bugs and feature requests for IrcLogsPlugin are [report:9?COMPONENT=IrcLogsPlugin here]. 29 30 If you have any issues, create a [/newticket?component=IrcLogsPlugin new ticket]. 28 Existing bugs and feature requests for IrcLogsPlugin are 29 [report:9?COMPONENT=IrcLogsPlugin here]. 30 31 If you have any issues, create a 32 [/newticket?component=IrcLogsPlugin new ticket]. 31 33 32 34 [[TicketQuery(component=IrcLogsPlugin&group=type,format=progress)]] … … 42 44 == Installation 43 45 44 Run `easy_install http ://trac-hacks.org/svn/irclogsplugin/0.10/` for 0.10.4 Trac installations (not supported).45 46 Run `easy_install http ://trac-hacks.org/svn/irclogsplugin/0.11/` for 0.11+ Trac installations.47 48 Run `easy_install http ://trac-hacks.org/svn/irclogsplugin/parsing_refactor/` for cutting edge beta version (0.11+ Trac).49 50 The IrcLogsPlugin 0.11 depends on the [http://swapoff.org/wiki/pyndexter python indexer]. The beta version doesn't require pyndexter, but it will be needed for search capability. It is installed automatically by easy_install.46 Run `easy_install https://trac-hacks.org/svn/irclogsplugin/0.10/` for 0.10.4 Trac installations (not supported). 47 48 Run `easy_install https://trac-hacks.org/svn/irclogsplugin/0.11/` for 0.11+ Trac installations. 49 50 Run `easy_install https://trac-hacks.org/svn/irclogsplugin/parsing_refactor/` for cutting edge beta version (0.11+ Trac). 51 52 The IrcLogsPlugin 0.11 depends on the [http://swapoff.org/wiki/pyndexter Python indexer]. The beta version doesn't require pyndexter, but it will be needed for search capability. It is installed automatically by easy_install. 51 53 52 54 == Configuration 0.11 … … 89 91 To (re)index your log files, use this [attachment:"indexer.py" pyndexter indexing python script]. Be sure to edit the two variables for file locations in the script. 90 92 91 '''Note:''' In order to enable indexing for 0.11, you'll currentlyneed a patch, see comment:ticket:1183:6.93 '''Note:''' To enable indexing for 0.11, you'll need a patch, see comment:ticket:1183:6. 92 94 93 95 == Configuration Beta … … 137 139 === Multi Channel Configuration 138 140 139 IrcLogPlugin now supports mu tliple channels. Simple setup new channel options with the channel.$channel-name prefix.channel-name can be anything you like. Each channel will 'inherit' any unspecified options from the 'default' set of options.141 IrcLogPlugin now supports multiple channels. Simply set up the new channel options with the channel.$channel-name prefix. The channel-name can be anything you like. Each channel will 'inherit' any unspecified options from the 'default' set of options. 140 142 141 143 {{{#!ini … … 151 153 === Adding New File Formats 152 154 153 A file format basically consists of file paths, regexes to parse lines, and order to try regexes in. match_order is the order the regexes will be matched in. The first part of the name will be matched to match_order. The match order value will also be used as the type. It is possible to add new types by having new regexes, but make sure there is a message positional regex group or things could go haywire. The timestamp regex is separate for convenience. The timestamp format is used to parse the timestamp into a datetime. Here is an example for gozer (already provided by default):155 A file format basically consists of file paths, regexes to parse lines, and order to try regexes in. The match_order is the order the regexes will be matched in. The first part of the name will be matched to match_order. The match order value will also be used as the type. It is possible to add new types by having new regexes, but make sure there is a message positional regex group or things could go haywire. The timestamp regex is separate for convenience. The timestamp format is used to parse the timestamp into a datetime. Here is an example for gozer (already provided by default): 154 156 155 157 {{{