I'm having a tough time figuring out how to use the Backends properly.
I have it registering and running, but I'm not quite sure how I should be
using it... here is the backend code:
class StartHandler(webapp.RequestHandler):
def get(self):
logging.debug("Starting up!")
logservice.flush()
def main():
application = webapp.WSGIApplication([('/_ah/start', StartHandler)],
debug=True)
util.run_wsgi_app(application)
I've tried several variations with logservice, but I never get a log
message that the backend has started up. I really just want to do some
datastore work when the backend starts up. Any help would be appreciated.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/T7NXa9LdNSMJ.
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.