I'm trying to tail the logs of an app I've deployed in Bluemix. Each time I deploy via bx app push [app-name]
I get the following error (but deployment is still successful):
Warning: error tailing logs
Loggregator endpoint missing from config file
Attempting to tail the logs yields:
$ bx app logs [app-name]
Invoking 'cf logs [app-name]'...
FAILED
Loggregator endpoint missing from config file
This is a Node.js app, is there something I need to define in my package.json
? Everything I've read in the documentation makes it seem like this should just work automatically:
The Loggregator automatically picks up STDOUT and STDERR data.
Version info:
$ bx -v
bx version 0.5.4+ae22935-2017-05-18T06:24:28+00:00