question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

queue: track logs

See original GitHub issue

dvc queue saves info into .dvc/tmp/exps, including stdout, stderr, and structured JSON output with info like time and return code. This is useful info, but it is only retrievable through queue-specific commands and is treated like temporary data.

Instead, each experiment can use DVC to track its own logs and keep them somewhere like .dvc/logs with an associated .dvc/logs.dvc file. This would enable the logs to be saved and shared as part of the experiment. Return code, start/end time, and any other info that we decide to collect in the future, can also be included. The logs and this metadata can be used by Studio, VS Code, and any other experiment tracking interface.

For non-queued experiments, there are currently no logs, but maybe we will eventually treat all experiments as queued?

Related: https://github.com/iterative/dvc/discussions/7160

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pmrowlacommented, Oct 28, 2022

If we are looking to track individual stage timings, I agree it makes sense for logs to be kept at the stage level as well (and then the log/metadata files can essentially be handled as a per-stage output in dvc.lock)

0reactions
dberenbaumcommented, Oct 28, 2022

Right, stage-level outputs make more sense. In that case, DVC/VS Code/Studio could merge logs and/or times to provide info for the “full” experiment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

queue logs | Data Version Control - DVC
Shows the console output logs for the specified running or completed experiment task . By default, this command will show any existing logs...
Read more >
Queue manager logs - IBM
Use the Log queue manager properties page from the IBM WebSphere MQ Explorer, or the Log stanza in the qm.ini file, to specify...
Read more >
Queue Logs - Asterisk Project
In order to support this, extensive and detailed tracing of every queued call is stored in the queue log, located (by default) in...
Read more >
Logging and monitoring in Amazon SQS - AWS Documentation
This section provides information about logging and monitoring Amazon SQS queues.
Read more >
Print Queue Logs (System Administration Guide, Volume 2)
Use the information in the /var/spool/lp logs if you need to track the status of a print request that is currently in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found