old_contents: import logging
  import sys
  
  
  # Separated from util to allow test-config tool to run in under 2 seconds
  def get_logger(name):
      logger = logging.getLogger(name)
      logger.setLevel(logging.INFO)
      ch = logging.StreamHandler(sys.stdout)
      ch.setLevel(logging.INFO)
      formatter = logging.Formatter(fmt='%(asctime)s [%(levelname)s] '
                                        '[%(name)s] %(message)s',
                                    datefmt='%H:%M:%S')
      ch.setFormatter(formatter)
      logger.addHandler(ch)
      logger.propagate = False
      return logger
  
new_contents: import logging
  import sys
  
  
  # Separated from util to allow test-config tool to run in under 2 seconds
  def get_logger(name):
      logger = logging.getLogger(name)
      logger.setLevel(logging.INFO)
      ch = logging.StreamHandler(sys.stderr)
      ch.setLevel(logging.INFO)
      formatter = logging.Formatter(fmt='%(asctime)s [%(levelname)s] '
                                        '[%(name)s] %(message)s',
                                    datefmt='%H:%M:%S')
      ch.setFormatter(formatter)
      logger.addHandler(ch)
      logger.propagate = False
      return logger
  
subject: Move logging to stderr (#1059)