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

Get standard out from cloudwatch #187

Open
arokem opened this issue Sep 19, 2019 · 2 comments
Open

Get standard out from cloudwatch #187

arokem opened this issue Sep 19, 2019 · 2 comments
Assignees

Comments

@arokem
Copy link
Member

arokem commented Sep 19, 2019

Currently, viewing the standard out of any given machine on Batch can (only?) be done by logging into the AWS console, clicking through to cloudwatch and finding the relevant job. Would be nice to be able to pull down that log and print it to stdout on the user's machine for debugging of failures and similar.

@richford
Copy link
Member

And / Or (at the very least) provide a link to the relevant cloudwatch log so that the user doesn't have to navigate there by themselves.

@richford richford self-assigned this Jun 25, 2020
@richford
Copy link
Member

richford commented Jul 3, 2020

Each BatchJob object has a log_urls method, implemented here in 73fa8aea. I started implementing the option to print to standard out but I think I would prefer to leave it as is and just supply the CloudWatch link(s).

Arguments for:

  • URL version is already implemented
  • Print to stdout version is tricky to implement since for long logs, the events will be paginated
  • Hopefully, linking to the AWS console teaches the user a bit more about the AWS ecosystem

Arguments against:

  • User has to leave the python console.
  • User may have to login to AWS providing an additional barrier

What do you think @arokem?

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

No branches or pull requests

2 participants