def loop(self, interval=0.1, async=False):
        while 1:
            self.update_files()
            for fid, file in list(self.files_map.iteritems()):
                self.readfile(file)
            if async:
                return
            time.sleep(interval)
Start the loop.
dataset/ETHPy150Open sensepost/Snoopy/snoopy/server/bin/pytail_helper.py/LogWatcher.loop