-
Notifications
You must be signed in to change notification settings - Fork 52
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
Emit logs frequently for debugging #435
Comments
This is an example of how logs are uploaded https://github.com/Quansight/conda-store/blob/main/conda-store-server/conda_store_server/build.py#L24-L31. Right now this is only done on success/failure of the build. Instead we would like to be able to successively update/upload the logs. https://github.com/Quansight/conda-store/blob/main/conda-store-server/conda_store_server/build.py#L147-L159 should be continually uploading logs at a set frequency that is configurable on |
Redis would result long term in the best user experience.
If a build is not completed/failed we can stream the logs via websockets, otherwise redirect the user to the storage for the logs (current behavior). |
Closing since frequent logs are currently emited. Please open another issue if more detailed logs are needed. It is hard to balance frequently writing logs and storing them on s3/object storage. |
Instead of only emitting logs at the end of a job completing/finishing instead we should emit logs at a set frequency. This will require the build to potentially be an async process to be able to periodically update the logs on file/object storage.
The text was updated successfully, but these errors were encountered: