Skip to content

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

Open

Description

@nh13

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).

Activity

  1. added
    enhancement
    on May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions