code: def _log_output(process):
      """This method takes in Popen process and logs the output of that process"""
      with process.stdout as pipe:
          for line in iter(pipe.readline, b""):
              logger.info(str(line, "UTF-8"))
  
imports: from __future__ import absolute_import
  import logging
  import sys
  import shlex
  import os
  import subprocess
  import time
  import dataclasses
  import json
label_desc: Use image node_id 5 for calling a global function with example usage: _log_output(process) without return types