如何通过 Ubuntu 终端获取部署在 Google app-spot 上的应用程序的日志。我已经尝试了 shell 脚本中的命令:
$./appcfg.sh request_logs mylogs.txt
但它说不好的论点。我在 app-spot 上部署的应用程序的应用程序 ID 是“vikastest111”。
请帮忙。
提前致谢。
如何通过 Ubuntu 终端获取部署在 Google app-spot 上的应用程序的日志。我已经尝试了 shell 脚本中的命令:
$./appcfg.sh request_logs mylogs.txt
但它说不好的论点。我在 app-spot 上部署的应用程序的应用程序 ID 是“vikastest111”。
请帮忙。
提前致谢。
where is appcfg.sh coming from ? Its not part of the google_appengine distribution.
The standard usage for appcfg.py is
Usage: appcfg.py [options] request_logs <directory> <output_file>
where directory is where you app.yaml is located .
To get specific help for a command do
python ~/google_appengine/appcfg.py request_logs --help
尝试:
$./appcfg.sh request_logs /path/to/your/appengine/project mylogs.txt