Page MenuHomePhabricator

process-control streams to log
Closed, ResolvedPublic2 Estimated Story Points

Description

This is harder than it looks. Popen.communicate buffers the entire output, so we have to build our own non-blocking IO loop.

Solve stdout/stderr synchronization as a bonus!

And timestamps!

Event Timeline

Change 345424 had a related patch set uploaded (by Ejegg):
[wikimedia/fundraising/process-control@master] Stream subprocess stdout and stderr to log file

https://gerrit.wikimedia.org/r/345424

Change 345424 merged by jenkins-bot:
[wikimedia/fundraising/process-control@master] Stream subprocess stdout and stderr to log file

https://gerrit.wikimedia.org/r/345424

Ejegg updated the task description. (Show Details)
Ejegg set the point value for this task to 2.
awight removed a project: Patch-For-Review.