code: def get_log_path(experiment_id):
      """generate stdout and stderr log path"""
      os.makedirs(
          os.path.join(NNI_HOME_DIR, experiment_id, "log"),
          exist_ok=True,
      )
      stdout_full_path = os.path.join(
          NNI_HOME_DIR, experiment_id, "log", "nnictl_stdout.log"
      )
      stderr_full_path = os.path.join(
          NNI_HOME_DIR, experiment_id, "log", "nnictl_stderr.log"
      )
      return stdout_full_path, stderr_full_path
  
imports: import json
  import os
  from pathlib import Path
  import sys
  import string
  import random
  import time
  import re
  from subprocess import Popen, check_call, CalledProcessError, PIPE, STDOUT
  from nni.experiment.config import ExperimentConfig, convert
  from nni.tools.package_utils.tuner_factory import get_builtin_module_class_name
  from .launcher_utils import validate_all_content
  from .rest_utils import rest_put, rest_post, check_rest_server, check_response
  from .url_utils import cluster_metadata_url, experiment_url, get_local_urls, set_prefix_url
  from .config_utils import Config, Experiments
  from .common_utils import get_yml_content, get_json_content, print_error, print_normal, detect_port
  from .constants import NNI_HOME_DIR, ERROR_INFO, REST_TIME_OUT, EXPERIMENT_SUCCESS_INFO, LOG_HEADER
  from .command_utils import check_output_command, kill_command
  from .nnictl_utils import update_experiment
label_desc: Use image node_id 1 for calling a global function with example usage: get_log_path(experiment_id) and returns: stdout_full_path,  stderr_full_path