def GetRemoteResourceLimits(rpcserver, config):
  try:
    StatusUpdate('Getting current resource limits.')
    yaml_data = rpcserver.Send('/api/appversion/getresourcelimits',
                               app_id=config.application,
                               version=config.version)

  except urllib2.HTTPError, err:



    if err.code != 404:
      raise
    return {}

  return yaml.safe_load(yaml_data)
Logged ``eliot`` messages get written to standard out.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/appcfg.py/GetRemoteResourceLimits--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/common/functional/test_script.py/FlockerScriptRunnerTests.test_eliot_messages