def warn_from_util_logger(msg):
    """Only to be used in this file and peyotl.utility.get_config"""
    global _LOG
    # This check is necessary to avoid infinite recursion when called from get_config, because
    #   the _read_logging_conf can require reading a conf file.
    if _LOG is None and _LOGGING_CONF is None:
        sys.stderr.write('WARNING: (from peyotl before logging is configured) {}\n'.format(msg))
        return
    if _LOG is None:
        _LOG = get_logger("peyotl.utility")
    _LOG.warn(msg)
Only to be used in this file and peyotl.utility.get_config