old_contents: """Continous Deployment logging functions.
  
  Configuration for the python logging library.
  """
  import logging
  
  
  def get_logger(logger_name):
      """Create a logger with the log_level set."""
      logger = logging.getLogger(logger_name)
      return logger
  
  
  def set_logging_config(log_level):
      """Set python logging library config.
  
      Run this ONCE at the start of your process. It formats the python logging
      module's output.
      Defaults logging level to INFO = 20)
      """
      logging.basicConfig(
          format='%(asctime)s %(levelname)s:%(name)s:%(funcName)s: %(message)s',
          datefmt='%Y-%m-%d %H:%M:%S',
          level=log_level)
  
  
  def set_root_logger(root_log_level):
      """Set the root logger 'pypyr'. Do this before you do anything else.
  
      Run once and only once at initialization.
      """
      set_logging_config(root_log_level)
      root_logger = logging.getLogger("pypyr")
      # root_logger.setLevel(root_log_level)
      root_logger.debug(
          f"Root logger {root_logger.name} configured with level "
          f"{root_log_level}")
  
new_contents: """Continous Deployment logging functions.
  
  Configuration for the python logging library.
  """
  import logging
  
  
  def get_logger(logger_name):
      """Create a logger with the log_level set."""
      logger = logging.getLogger(logger_name)
      return logger
  
  
  def set_logging_config(log_level):
      """Set python logging library config.
  
      Run this ONCE at the start of your process. It formats the python logging
      module's output.
      Defaults logging level to INFO = 20)
      """
      logging.basicConfig(
          format='%(asctime)s %(levelname)s:%(name)s:%(funcName)s: %(message)s',
          datefmt='%Y-%m-%d %H:%M:%S',
          level=log_level)
  
  
  def set_root_logger(root_log_level):
      """Set the root logger 'pypyr'. Do this before you do anything else.
  
      Run once and only once at initialization.
      """
      set_logging_config(root_log_level)
      root_logger = logging.getLogger("pypyr")
      root_logger.debug(
          f"Root logger {root_logger.name} configured with level "
          f"{root_log_level}")
  
subject: remove logger set log level comment