import sys
import site
site.addsitedir('/srv/www/bgp-analyze.dns.icann.org/lib/python2.7/site-packages')
sys.path.insert(0, "/srv/www/bgp-analyze.dns.icann.org")
sys.path.insert(0, "/srv/www/bgp-analyze.dns.icann.org/lib/python2.7/site-packages")
from web import app as application

@@ -16,16 +16,31 @@
 rt site%0A
+import logging%0A
 site.add
@@ -290,8 +290,180 @@
 ication%0A
+%0Alogging.captureWarnings(True)%0Ahandler = RotatingFileHandler(%0A  '/srv/www/bgp-analyze.dns.icann.org/app.log', maxBytes=10000,backupCount=1)%0Ahandler.setLevel(logging.DEBUG)%0A

add logging