如何从 IBM Bluemix 下载日志文件?

How to download a log file from IBM Bluemix?

如何将部署在 IBM Bluemix 中的应用程序的日志文件下载到我的本地计算机 (Windows)?

   cf download APPNAME

不再有效。

我知道我可以通过

查看它
   cf ssh

不过还是挺大的

试试这个:

cf appname ssh -c "cat logs/filename" >filename

您可以 运行 使用 cf ssh 的远程命令并将其输出定向到本地文件:
cf ssh myapp -c "cat app/logfile" > logfile.txt.