code: def get_job_logs(id):
      
      crawler_job = models.CrawlerJob.query.filter_by(id=id).one_or_none()
      if crawler_job is None:
          click.secho(
              (
                  "CrawlJob %s was not found, maybe it's not a crawl job?" %
                  id
              ),
              fg='yellow',
          )
          sys.exit(1)
  
      if crawler_job.logs is None:
          click.secho(
              (
                  "CrawlJob %s has no log, it might be that it has not run "
                  "yet, you can try again later." %
                  id
              ),
              fg='yellow',
          )
          sys.exit(1)
  
      _show_file(
          file_path=crawler_job.logs,
          header_name='Log',
      )
docs: Get the crawl logs from the job.