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.