code: def setup_logging(
      config_path=LOG_CONFIG_PATH, default_level=logging.INFO
  ):
      """
      Setup logging configuration
      """
      print(global_params.log_file_path)
      try:
          with open(config_path, "rt") as f:
              log_config = yaml.safe_load(f.read())
          log_config["handlers"]["info_file_handler"].update(
              {"filename": global_params.log_file_path}
          )
          logging.config.dictConfig(log_config)
      except Exception:
          raise logging.error("Failed to open file", exc_info=True)
  
imports: import logging.config
  from datetime import datetime
  import os
  import yaml
  import config
label_desc: Use image node_id 1 for calling a global function with example usage: setup_logging(config_path, default_level) without return types