code: def init_log():
      logging.basicConfig(
          format="[%(relativepath)s:%(lineno)d %(levelname)-1s] %(message)s",
          level=logging.INFO,
      )
  
      # Flush on every log call (logging and then calling subprocess.run can make
      # the output look confusing)
      logging.root.handlers[0].addFilter(RelativePathFilter())
      logging.root.handlers[0].flush = sys.stderr.flush
  
file_path: tvm/ci/scripts/jenkins/cmd_utils.py
imports: import subprocess
  import os
  import logging
  import sys
  import re
  import tempfile
  from pathlib import Path
  from typing import List
label_desc: Use image node_id 1 for calling a global function with example usage: init_log() without return types