Not able to get my application logs using “cf logs my-cool-app” command (CF version 6.27)

一曲冷凌霜 提交于 2019-12-12 05:25:30

问题


I see an issue just like this from a few years ago, but I am facing the same problem.

I am using cf version 6.27.0+d26b32dcc.2017-06-08 and bx version 0.5.4+ae22935-2017-05-18T06:24:28+00:00

When I issue bx app logs <myappname>, I get this error Loggregator endpoint missing from config file If I issue cf logs <myappname>, it works like a charm.

Can anyone provide guidance on this? thank you


回答1:


bx app logs is using embedded cf cli, while that embedded version cf cli is too old.

A workaround is to copy the cf cli binary to directory "/usr/local/Bluemix/bin/cfcli"




回答2:


by the way, the coming release v0.5.5 will fix this issue



来源:https://stackoverflow.com/questions/44634715/not-able-to-get-my-application-logs-using-cf-logs-my-cool-app-command-cf-vers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!