code: def _init_log():
      level = util.get_env("LOG_LEVEL", int, logging.WARN)
      format = os.getenv(
          "LOG_FORMAT", "%(levelname)s: [%(name)s] %(message)s"
      )
      logging.basicConfig(level=level, format=format)
      return logging.getLogger("import_flags_main")
  
imports: import argparse
  import json
  import logging
  import os
  import subprocess
  import sys
  import click
  from guild import python_util
  from guild import util
  from .None import import_argparse_flags_main
  from .None import python_script
label_desc: Use image node_id 1 for calling a global function with example usage: _init_log() and returns: logging