Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save logs for repeated task executions #96

Open
ryanrichholt opened this issue Nov 19, 2019 · 1 comment
Open

Save logs for repeated task executions #96

ryanrichholt opened this issue Nov 19, 2019 · 1 comment
Projects

Comments

@ryanrichholt
Copy link
Collaborator

Looking for thoughts on saving logs for all executions of a task. i.e. if a task fails and gets run again, both logs would be saved. This could be accomplished with an encoded timestamp. The benefit would be that it could be determined without checking the disk:

<project>/jetstream/logs/taskA_16e857f4ae5.log
<project>/jetstream/logs/taskA_16e85823fd6.log

Alternatively, the disk could be checked for existing logs, and auto-increment :

<project>/jetstream/logs/taskA.log
<project>/jetstream/logs/taskA_1.log

But, I think the second option is more confusing. Imagine you had a task named: copy_fastq_1, now the logs folder looks like this:

<project>/jetstream/logs/copy_fastq_1.log
<project>/jetstream/logs/copy_fastq_1_1.log
<project>/jetstream/logs/taskA.log
<project>/jetstream/logs/taskA_1.log
@PedalheadPHX
Copy link
Member

See the value in this as failed logs are lost on restarts and it would be nice to have around. Question is how do you default to most recent version.

@ryanrichholt ryanrichholt added this to To do in Version 1.7 Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Version 1.7
  
To do
Development

No branches or pull requests

2 participants