def get_app_name():
conf = get_config()<EOL>if is_ec2_instance():<EOL><INDENT>return conf.app_name_live if hasattr(conf, '<STR_LIT>') else '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>return conf.app_name_dev if hasattr(conf, '<STR_LIT>') else '<STR_LIT>'<EOL><DEDENT>
Return a generic name for this app, usefull when reporting to monitoring/logging frameworks