def METHOD_NAME(self) -> None:
    while not self.stopped():
        if not os.path.isfile(self.nb_log_filename):
            time.sleep(0.5)
            continue
        for line_number, line in enumerate(self.follow_file(self.nb_log_filename)):
            if self.stopped():
                break
            for pattern, event in NOSQLBENCH_EVENT_PATTERNS:
                if pattern.search(line):
                    event.clone().add_info(node=self.node, line=line, line_number=line_number).publish()