asah / footprint2009dev

original dev repo for AllForGood.org
http://AllForGood.org/
0 stars 1 forks source link

remove debug from production-- filling logs and added load #231

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
AFAICT, we need to detect production (how?) and do two things:
1. in main.py, main(), add:
   logging.getLogger().setLevel(logging.WARNING)
   (we also log a lot of INFOs...)
2. in main.py, set
   APPLICATION = webapp.WSGIApplication(
    [...
    ] +
    [ (url, views.static_content) for url in
         urls.STATIC_CONTENT_FILES.iterkeys() ],
    debug=False)
   (set debug=False)

assigning to Paul

Original issue reported on code.google.com by adam.sah on 15 May 2009 at 4:00

GoogleCodeExporter commented 9 years ago
working on this now...

Original comment by adam.sah on 15 May 2009 at 8:03

GoogleCodeExporter commented 9 years ago
fixed in r571

Original comment by adam.sah on 15 May 2009 at 8:58

GoogleCodeExporter commented 9 years ago

Original comment by adam.sah on 15 May 2009 at 8:58