This is a simple plugin that I use as a testbed for various features and other things I need to try from a plugin.
It currently provides two features:
Although this works, it is really a rather poor solution to the problem, as it assumes a lot of string-compares, which can seriously degrade the performance of the server. I did try to take as many short-cuts as reasonable in the code, to decrease the amount of string-comparing going on, which makes the code a bit less readable than doing just a "strstr" on the log line.