-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Capture stdout and stderr #1515
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1515 +/- ##
==========================================
- Coverage 95.59% 95.49% -0.11%
==========================================
Files 46 46
Lines 7058 7145 +87
==========================================
+ Hits 6747 6823 +76
- Misses 311 322 +11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
I like the idea of workers writing to I'm not sure about saving |
I made this optional now. You have to activate this using |
Any news? |
looking forward to using this feature. |
any reason as to why this PR hasn't been merged? |
i could confirm that this PR works as expected, but the streams are not closed when the function has run till the end. is this by design ? i need to use this workaround:
|
@rpkak This feature would solve many issues for me, there's any way that I can help to get this approved and merged? |
@melizeche you can use Python’s logging mechanism to log to stdout and stderr |
We would want to log per-job, I think? |
Closes #886
Captures the stdout and the stderr of a job and makes it accessible using
job.stdout
ansjob.stderr
.