Run the thread, logging everything.

def run(self):
        """Run the thread, logging everything.
        """
        self._finished.clear()
        for line in iter(self.pipeReader.readline, ''):
            logging.log(self.level, line.strip('\n'))

        self.pipeReader.close()
        self._finished.set()