The docs for downloading logs make no specific mention of backends, and from my attempts it seems that you can only download logs for your frontend. That would be strange though, and to make matters worse a web search for "google app engine download backend logs" (no quotes obvs.) reveals nothing relevant. Either I'm a true pioneer here or no one else has had any troubles with this -- or no one else cares. Here is what I've tried.
First, the documented syntax (which gets you the frontend logs - no issues here): appcfg.py request_logs myapp/ mylogs.txt So to get the backend logs I have tried: -------- appcfg.py backends request_logs myapp/ mylogs.txt <backend-name> (Returns the error: appcfg.py: error: Expected a <directory> and <action> argument.) -------- appcfg.py backends request_logs myapp/ <backend-name> mylogs.txt (As expected, returns the same error: appcfg.py: error: Expected a <directory> and <action> argument.) appcfg.py seems confused by "backends request_logs" so I then tried, without the "backends" argument: -------- appcfg.py request_logs myapp/ <backend-name> mylogs.txt (Returns the error: appcfg.py: error: Expected a <directory> argument and an <output_file> argument.) -------- appcfg.py request_logs myapp/ mylogs.txt <backend-name> (Same thing: returns the error: appcfg.py: error: Expected a <directory> argument and an <output_file> argument.) And there is also the documented -vhost to restrict by domain: -------- appcfg.py --vhost=http://<backend-name>.<app-name>.appspot.com request_logs myapp/ mylogs.txt (console just shows that is downloading a frontend version number, and the result is that I get nothing downloaded, probably because there are no requests going to my frontend using my backend host name.) So ... did Google really leave this out, or what am I missing? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
