def collect_output(self, out_file=None):
if self.logger.isEnabledFor(logging.INFO):<EOL><INDENT>self.logger.info(<EOL>"<STR_LIT>", "<STR_LIT>" % out_file if out_file else '<STR_LIT>'<EOL>)<EOL>self.logger.info("<STR_LIT>", self.output)<EOL><DEDENT>return collect_output(self.output, out_file)<EOL>
Run :func:`collect_output` on the job's output directory.