Cornelius Roemer
Cornelius Roemer

Reputation: 8306

How to see the logs of failed snakemake jobs immediately in stderr - instead of log file

I'm running snakemake inside kubernetes with argocd. When a job errors, snakemake says that the logs of the failed job are in a log file. Now I can't easily look this logfile up because argocd doesn't allow this.

I want the failed job logs to be shown in the normal log output. How can I do this?

Upvotes: 0

Views: 65

Answers (1)

Cornelius Roemer
Cornelius Roemer

Reputation: 8306

Add the command line option --show-failed-logs. From the docs:

--show-failed-logs
  Automatically display logs of failed jobs.

  Default: False

Upvotes: 0

Related Questions