code: def print_experiment_log(experiment_id):
      log_dir = get_nni_log_dir(experiment_id=experiment_id)
      for log_file in ["dispatcher.log", "nnimanager.log"]:
          filepath = os.path.join(log_dir, log_file)
          print_file_content(filepath)
  
      print("nnictl log stderr:")
      subprocess.run(
          shlex.split("nnictl log stderr {}".format(experiment_id))
      )
      print("nnictl log stdout:")
      subprocess.run(
          shlex.split("nnictl log stdout {}".format(experiment_id))
      )
  
imports: import contextlib
  import collections
  import os
  import socket
  import sys
  import subprocess
  import requests
  import time
  import yaml
  import shlex
  import warnings
label_desc: Use image node_id 17 for calling a global function with example usage: print_experiment_log(experiment_id) without return types