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

Add spin cloud logs to view app logs on the CLI #107

Closed
endocrimes opened this issue Sep 30, 2023 · 2 comments · Fixed by #58
Closed

Add spin cloud logs to view app logs on the CLI #107

endocrimes opened this issue Sep 30, 2023 · 2 comments · Fixed by #58
Labels
enhancement New feature or request

Comments

@endocrimes
Copy link
Member

It would be beneficial to be able to tail logs from the CLI when debugging issues, rather than needing to open the Cloud UI - especially when iterating on a deployment.

Example UX:

$ spin cloud logs my-app-name --tail
# continuously tail logs until interrupted 
$ spin cloud logs my-app-name --since=TIMESTAMP
# fetch all available logs since the given timestamp and then exit
$ spin cloud logs my-app-name --reverse
# fetch recent logs with the _newest logs first_
@endocrimes endocrimes added the enhancement New feature or request label Sep 30, 2023
@seungjin
Copy link

-f instead of --tail PLEASE! :)

@kate-goldenring kate-goldenring linked a pull request Oct 2, 2023 that will close this issue
@seungjin
Copy link

seungjin commented Nov 1, 2023

Thanks! It works like charm!

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

Successfully merging a pull request may close this issue.

2 participants