code: def log_sockeye_version(logger):
      from sockeye import __version__, __file__
  
      try:
          from sockeye.git_version import git_hash
      except ImportError:
          git_hash = "unknown"
      logger.info(
          f"Sockeye: {__version__}, commit {git_hash}, path {__file__}"
      )
  
imports: import logging
  import logging.config
  import sys
  from typing import Optional
label_desc: Use image node_id 2 for calling a global function with example usage: log_sockeye_version(logger) without return types