1

http://code.google.com/appengine/docs/whatisgoogleappengine.html

An app can read files, but only files uploaded with the application code.

I am assuming this precludes one from programmatically reading the request log files - is that correct?

LisaMM
  • 675
  • 1
  • 16
  • 28
Geoff Moller
  • 778
  • 7
  • 15

3 Answers3

3

now is possible

The Logs API provides access to the application and request 
logs for your application.

https://developers.google.com/appengine/docs/java/logs/overview

xxleite
  • 53
  • 1
  • 6
3

There are two types of logs: HTTP request logs and the entries that are stored to the App Engine logger. As Dmitry mentions, it is possible to retrieve the HTTP request logs via appcfg.py, however, there's currently no interface for retrieving logs programmatically.

It'll be a good idea to add the enhancements to this issue in the issue tracker and star it: http://code.google.com/p/googleappengine/issues/detail?id=76

Edit because people are still commenting on this issue 3+ years later. There's been an update. There's now a Logs API that allows some of what you might be looking for.

Ikai Lan
  • 2,210
  • 12
  • 13
  • appcfg.py does it kinda programmatically, you may see the source code on the link. It uses an HTTP request, though. – Dmitry Jan 27 '10 at 23:28
  • appcfg.py fetches the request logs - not the logs that are stored in the log viewer. – Ikai Lan Feb 02 '10 at 22:36
  • this implies you can ? http://stackoverflow.com/questions/5455402/downloading-detailed-logs-from-google-app-engine – HaveAGuess Dec 09 '11 at 12:52
0

I didn't try it but I believe that one can issue an HTTP request and get the logs, like appcfg.py does

Dmitry
  • 3,740
  • 15
  • 17