def _stream_task_log_dirs(self, application_id=None, output_dir=None):
        # Note: this is unlikely to be super-helpful on "real" (multi-node)
        # pre-YARN Hadoop because task logs aren't generally shipped to a
        # local directory. It's a start, anyways. See #1201.
        for log_dir in unique(self._hadoop_log_dirs(output_dir=output_dir)):
            if application_id:
                path = self.fs.join(log_dir, 'userlogs', application_id)
            else:
                path = self.fs.join(log_dir, 'userlogs')

            if self.fs.exists(path):
                log.info('Looking for task syslogs in %s...' % path)
                yield [path]
Yield lists of directories to look for the task logs in.
dataset/ETHPy150Open Yelp/mrjob/mrjob/hadoop.py/HadoopJobRunner._stream_task_log_dirs