Is there a project that can log errors in requests to Django on Google App Engine to the datastore (like django-db-log or django.crashlog)?
Thanks!
Is there a project that can log errors in requests to Django on Google App Engine to the datastore (like django-db-log or django.crashlog)?
Thanks!
I've created a project Django-GAE-log to solve this issue. Thoughts and input are welcome!
Use the built-in google.appengine.ext.ereporter
module:
A logging handler that records information about unique exceptions.
'Unique' in this case is defined as a given (exception class, location) tuple. Unique exceptions are logged to the datastore with an example stacktrace and an approximate count of occurrences, grouped by day and application version.
A cron handler, in google.appengine.ext.ereporter.report_generator, constructs and emails a report based on the previous day's exceptions.
See also: Using the ereporter module for easy error reporting.