-
Notifications
You must be signed in to change notification settings - Fork 7
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
Replace Python print statements with logging to StreamHandler #2319
Labels
Bug
Infrastructure
Issues related to AWS/EKS/Docker etc
P1: Launch blocker
Needs fixing before we launch, schedule some time to investigate & fix
Tech Debt
Milestone
Comments
Looks like there's still stuff to do in ingestion, I'll take that on. |
iamleeg
added a commit
that referenced
this issue
Feb 15, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
iamleeg
added a commit
that referenced
this issue
Feb 16, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug
Infrastructure
Issues related to AWS/EKS/Docker etc
P1: Launch blocker
Needs fixing before we launch, schedule some time to investigate & fix
Tech Debt
Calling
print
in Python does not automatically write its output to stdout; when a script runs in Docker and hangs on a line, it can result in a timeout with incomplete (even no) output written to Cloudwatch logs.We should use
logging
instead ofprint
statements, and we need to use aStreamHandler
to ensure each log statement gets flushed from the buffer and made visible in Cloudwatch.https://docs.python.org/3/library/logging.handlers.html#streamhandler
The text was updated successfully, but these errors were encountered: