def init_env_globals():
    """Set module level values from environment variables.

    Encapsulated here to enable better testing.
    """
    global C7N_SKIP_EVTERR, C7N_DEBUG_EVENT, C7N_CATCH_ERR

    C7N_SKIP_EVTERR = os.environ.get(
        'C7N_SKIP_ERR_EVENT', 'yes') == 'yes' and True or False

    C7N_DEBUG_EVENT = os.environ.get(
        'C7N_DEBUG_EVENT', 'yes') == 'yes' and True or False

    C7N_CATCH_ERR = os.environ.get(
        'C7N_CATCH_ERR', 'no').strip().lower() == 'yes' and True or False