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

FR: include the label in the pueue log header output #355

Closed
mjpieters opened this issue Sep 7, 2022 · 0 comments
Closed

FR: include the label in the pueue log header output #355

mjpieters opened this issue Sep 7, 2022 · 0 comments

Comments

@mjpieters
Copy link
Contributor

Is your feature request related to a problem?

For my post-processing queue I put the number of items to process, in the label. That's because the job output only tells me what (numbered) files are done, not how many files there are to process. I could put that in the log output at the start, but that then requires me to use pueue log --full to get that info out again when I check on a job.

To check on the job progress does require two checks though: I need to look at the pueue status output to see the label, then the pueue log output to see how far along it is.

Describe the solution you'd like

I'd like to see the pueue log header for a task to be extended to include the label. Currently the header shows:

  • a boxed Task [TASK_ID]: [Status] line.
  • The task command, path, and start time, and for done jobs, the stop time.

The label should be added to this.

Describe alternatives you've considered

I currently use a custom jq script to output this information; the last log lines plus the above info with the label included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants