code: def follow_tail(self):
          
  
          try:
              follower = tailhead.follow_path(self.filepath)
          except (FileNotFoundError, PermissionError) as err:
              raise SystemExit("Error: Can't read logfile %s (%s)" %
                               (self.filepath, err))
  
          for line in follower:
              self.message = None
              self.params = None
              self.site = None
  
              if line is not None:
                  self.parse(line)
                  send_message(self.message,
                               self.params,
                               self.site,
                               self.logger)
docs: Read (tail and follow) the log file, parse entries and send messages
          to Sentry using Raven.