[blinkpy] Redirect stderr of wptserve to a file
wptserve (especially its pywebsocket component) produces too many log messages to stderr which can block the pipe since the parent process (wptserve.py) does not read from the pipe until the server exits. This change redirects the stderr of wptserve to a log file (in a way that's still compatible with the error logging and cleanup logic in ServerBase, see _log_errors_from_subprocess and _remove_stale_logs respectively). Bug: 968904 Change-Id: I08200bf7d895c844652cd50e627e270671f25369 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1641436 Commit-Queue: Robert Ma <robertma@chromium.org> Reviewed-by:Yuta Kitamura <yutak@chromium.org> Cr-Commit-Position: refs/heads/master@{#666321}
Showing
Please register or sign in to comment