def get_app_name():
    """Return a generic name for this app, usefull when reporting to monitoring/logging frameworks"""
    conf = get_config()
    if is_ec2_instance():
        return conf.app_name_live if hasattr(conf, 'app_name_live') else 'PYMACARON_LIVE'
    else:
        return conf.app_name_dev if hasattr(conf, 'app_name_dev') else 'PYMACARON_DEV'