Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Add guessable log stream name #6

Open
whyvez opened this issue Apr 4, 2016 · 5 comments
Open

Add guessable log stream name #6

whyvez opened this issue Apr 4, 2016 · 5 comments

Comments

@whyvez
Copy link
Contributor

whyvez commented Apr 4, 2016

As a learn client running a task
I should be able to guess the log stream name
In order to connect to it and provide real-time logs to the user.

@whyvez
Copy link
Contributor Author

whyvez commented Apr 4, 2016

@boriscosic will pass in AWS_LOGS_STREAM_PREFIX env var for pylearn/rlean loggers in the form of <scenarioID>-<command> i.e. scenarioabc-varsel

@whyvez
Copy link
Contributor Author

whyvez commented Apr 4, 2016

@boriscosic We are currently adding a uuid suffix to the stream name. Once you start working with the CloudWatch API see if its easy to query based on prefix solely otherwise we can remove the suffix all together.

@boriscosic
Copy link
Contributor

uuid at the time was just a way of randomizing the logs until we had a better system in place. I will pass in CW log stream name in the format <organization>-<dataset>-<scenarioId>-<command> so it corresponds to S3 path for that particular task.

@whyvez
Copy link
Contributor Author

whyvez commented Apr 4, 2016

@jo-tham
Copy link
Contributor

jo-tham commented Sep 21, 2016

@boriscosic still need something here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants