configuration文件中缺lessBluemix CF App Loggregator端点

我正在试图在Bluemix中部署一个应用程序的日志。 每次我通过bx app push [app-name]部署时,出现以下错误(但部署仍然成功):

 Warning: error tailing logs Loggregator endpoint missing from config file 

试图拖尾日志产量:

 $ bx app logs [app-name] Invoking 'cf logs [app-name]'... FAILED Loggregator endpoint missing from config file 

这是一个Node.js应用程序,有什么我需要在我的package.json定义? 我在文档中读到的所有东西都使它看起来像是自动工作的:

Loggregator自动获取STDOUT和STDERR数据。

版本信息:

 $ bx -v bx version 0.5.4+ae22935-2017-05-18T06:24:28+00:00 

我听说Bluemix bx CLI捆绑了一个较老的cf CLI版本。
cf CLI 6.24.0停止支持弃用的“loggregator”端点来支持多普勒端点。
因此,当您执行cf apicf login cf CLI> = 6.24.0 cf login时,loggregator端点将不会被添加到configuration文件,导致bx无法收集日志。 这会引起bx app pushbx app start (分段)和bx app restage bx app start时看到的警告,以及bx app logs失败。
解决scheme直到bx更新将要么按照https://stackoverflow.com/a/44639332/1227328中build议的步骤,或者只是不使用bx与任何cf CLI版本> = 6.24.0,并再次设置API端点以使(旧)CLI将“loggregator”端点保存在其本地configuration文件中。