I've set my routes logging to be false, but on appengine every call
about 10 / 15 debug logs are written, how can a switch them off.
Here's my routes.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
# default_application, default_controller, default_function
# are used when the respective element is missing from the
# (possibly rewritten) incoming URL
#
default_application = 'init' # ordinarily set in base routes.py
default_controller = 'default' # ordinarily set in app-specific
routes.py
default_function = 'index' # ordinarily set in app-specific
routes.py
# routes_app is a tuple of tuples. The first item in each is a regexp
that will
# be used to match the incoming request URL. The second item in the
tuple is
# an applicationname. This mechanism allows you to specify the use of
an
# app-specific routes.py. This entry is meaningful only in the base
routes.py.
#
# Example: support welcome, admin, app and myapp, with myapp the
default:
routes_logging = False # set to False, 'debug', 'info', 'warning',
'error' or 'critical'
routes_app = ((r'/(?P<app>welcome|admin|app)\b.*', r'\g<app>'),
(r'(.*)', r'myapp'),
(r'/?(.*)', r'myapp'))
# routes_in is a tuple of tuples. The first item in each is a regexp
that will
# be used to match the incoming request URL. The second item in the
tuple is
# what it will be replaced with. This mechanism allows you to
redirect incoming
# routes to different web2py locations
#
# Example: If you wish for your entire website to use init's static
directory:
#
# routes_in=( (r'/static/(?P<file>[\w./-]+)', r'/init/static/
\g<file>') )
#
routes_in = (
('/filters/','/init/default/filters')
,('/next/','/init/default/next')
,('/redirect/', '/init/utilities/redirect/')
,('/init/appadmin/(?P<first>.*)','/init/appadmin/\g<first>')
,('/init/errors/(?P<first>.*)','/init/errors/\g<first>')
,('/(?P<first>.*)/(?P<second>.*)', '/init/\g<first>/\g<second>')
,('/(?P<first>.*)/(?P<second>.*)/', '/init/\g<first>/\g<second>')
,('/(?P<first>.*)/(?P<second>.*)/(?P<third>.*)/', '/init/\g<first>/
\g<second>/\g<third>')
)
# routes_out, like routes_in translates URL paths created with the
web2py URL()
# function in the same manner that route_in translates inbound URL
paths.
routes_out = (
('/init/filters/','/filters/')
,('/init/default/next/','/next/')
,('/init/utilities/redirect/', '/redirect/')
,('/init/errors/index/', '/errors/')
,('/init/appadmin/(?P<first>.*)','/appadmin/\g<first>')
,('/init/(?P<first>.*)/(?P<second>.*)', '/\g<first>/\g<second>')
,('/init/(?P<first>.*)/(?P<second>.*)/', '/\g<first>/\g<second>')
,('/init/(?P<first>.*)/(?P<second>.*)/(?P<third>.*)/', '/\g<first>/
\g<second>/\g<third>')
)