code: def get_log_redirect_level():
      """Returns which log level (and up) should be redirected to stderr. None means no redirection."""
      value = LOG_STDERR_REDIRECT_LEVEL.get()  # noqa: F405
      try:
          if value:
              return logging._checkLevel(value)  # noqa
      except (ValueError, TypeError, AttributeError):
          pass
  
imports: import logging
  import os
  import sys
  from os.path import expandvars, expanduser
  from ..backend_api import load_config
  from ..backend_config import Config
  from ..backend_config.bucket_config import S3BucketConfigurations
  from .defs import *
  from .remote import running_remotely_task_id
  from ..utilities.proxy_object import LazyEvalWrapper
label_desc: Use image node_id 11 for calling a global function with example usage: get_log_redirect_level() and returns: logging