code: def get_log_files(self, osbs, build_id):
          
  
          logs = None
          output = []
  
          # Collect logs from server
          try:
              logs = osbs.get_orchestrator_build_logs(build_id)
          except OsbsException as ex:
              self.log.error("unable to get build logs: %r", ex)
              return output
          except TypeError:
              # Older osbs-client has no get_orchestrator_build_logs
              self.log.error("OSBS client does not support get_orchestrator_build_logs")
              return output
  
          platform_logs = {}
          for entry in logs:
              platform = entry.platform
              if platform not in platform_logs:
                  filename = 'orchestrator' if platform is None else platform
                  platform_logs[platform] = NamedTemporaryFile(prefix="%s-%s" %
                                                               (build_id, filename),
                                                               suffix=".log", mode='r+b')
              platform_logs[platform].write((entry.line + '\n').encode('utf-8'))
  
          for platform, logfile in platform_logs.items():
              logfile.flush()
              filename = 'orchestrator' if platform is None else platform
              metadata = self.get_log_metadata(logfile.name, "%s.log" % filename)
              output.append(Output(file=logfile, metadata=metadata))
  
          return output
docs: Build list of log files
  
          :return: list, of log files