code: def accept(self, logevent):
          
          for word in self.words:
              if re.search(word, logevent.line_str):
                  return True
          return False
docs: Process line.
  
          Overwrite BaseFilter.accept() and return True if the provided
          logevent should be accepted (causing output), or False if not.