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

latch logs command to print logs for a workflow or task #269

Open
nh13 opened this issue May 18, 2023 · 0 comments
Open

latch logs command to print logs for a workflow or task #269

nh13 opened this issue May 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@nh13
Copy link
Contributor

nh13 commented May 18, 2023

Is your feature request related to a problem? Please describe.
I want to retrieve all the task logs for a workflow, or the log for a specific task or tasks for a workflow.

Describe the solution you'd like

  • latch logs <execution-id> <task-id> retrieves the log for the given task and workflow execution to stdout
  • latch logs <execution-id> retrieves all the log for the given workflow execution to stdout
  • have a --dump <directory> option that dumps the logs to a directory, one file per-task

Describe alternatives you've considered
latch get-executions, but it's interactive

Additional context

I want to use these commands as part of an automated process (i.e. cannot require user input).

@nh13 nh13 added the enhancement New feature or request label May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant