Skip to content

feat(sdk): extend cli job logs for streaming and filtering#41

Open
tejapulagam wants to merge 1 commit into
mainfrom
job-logs-cli-follow
Open

feat(sdk): extend cli job logs for streaming and filtering#41
tejapulagam wants to merge 1 commit into
mainfrom
job-logs-cli-follow

Conversation

@tejapulagam

Copy link
Copy Markdown
Contributor

Summary

Extends lightning job logs to work with running jobs and adds:

  • Snapshot logs available so far
  • Live streaming with --follow / -f
  • --tail, --rank, and --timestamps
  • Clean shutdown when the job finishes or the user presses Ctrl-C

Example usage

lightning job logs my-job
lightning job logs my-job --tail 10
lightning job logs my-job --follow
lightning job logs my-job -f --tail 10 --timestamps
lightning job logs my-job -f --rank 2

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

Successfully merging this pull request may close these issues.

1 participant