Skip to content

cat-log: infer --force-remote for --mode=list-dir if job.out not present #6596

@oliver-sanders

Description

@oliver-sanders
  • cylc cat-log --mode=list-dir <job-id> reports the log files that are present for a given job.
  • If the job is running, it looks at the remote filesystem.
  • If the job is finished, it looks at the local filesystem (providing that job log retrieval is configured).

Issues:

  1. There is a lag between a job finishing and job log retrieval being performed.
  2. Sometimes not all log files are retrieved due to files exceeding the maximum configured size, or possibly retrieval errors.

Solution:

  • If the job is finished, but the job.out file is not present, perform the listing on the remote platform.

Note:

Metadata

Metadata

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions