chamikaramj commented on a change in pull request #11048: [BEAM-9433] Create
expansion service artifact for common Java IOs.
URL: https://github.com/apache/beam/pull/11048#discussion_r388385184
##########
File path: sdks/python/apache_beam/utils/subprocess_server.py
##########
@@ -82,9 +82,18 @@ def start(self):
port, = pick_port(None)
cmd = [arg.replace('{{PORT}}', str(port)) for arg in self._cmd]
endpoint = 'localhost:%s' % port
- _LOGGER.warning("Starting service with %s", str(cmd).replace("',", "'"))
+ _LOGGER.info("Starting service with %s", str(cmd).replace("',", "'"))
try:
- self._process = subprocess.Popen(cmd)
+ self._process = subprocess.Popen(
+ cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
+
+ def log_stdout():
Review comment:
Please add a comment about this logging fix.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services