Geoff Moller
Geoff Moller

Reputation: 798

Google Appengine: programmatic access to request log files?

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?

Upvotes: 1

Views: 1275

Answers (3)

Ikai Lan
Ikai Lan

Reputation: 2240

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.

Upvotes: 3

xxleite
xxleite

Reputation: 53

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

Upvotes: 3

Dmitry
Dmitry

Reputation: 3780

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

Upvotes: 0

Related Questions