问题
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