I'd like a global variable to determine if I'm in debug mode or not. Is that what __debug__ is for? How do I set/read it on Google App Engine?
If I use logging.debug(), will that automatically be turned off if I don't run the app with debug=True?
application = webapp.WSGIApplication(# ...
debug=True)