On Sat, 2012-01-28 at 22:48 -0800, Mike Orr wrote: > When I run an application in development mode I get this access log on > the console: > > localhost.localdomain - - [28/Jan/2012 22:42:00] "GET / HTTP/1.1" 500 50656 > localhost.localdomain - - [28/Jan/2012 22:42:00] "GET > /_debug_toolbar/static/css/debugger.css HTTP/1.1" 304 0 > localhost.localdomain - - [28/Jan/2012 22:42:00] "GET > /_debug_toolbar/static/js/jquery-1.6.4.min.js HTTP/1.1" 304 0 > localhost.localdomain - - [28/Jan/2012 22:42:00] "GET > /_debug_toolbar/static/js/debugger.js > > Which module is printing this,
You're likely using wsgiref, which emits access logging messages to the console. > and how can I suppress the > "/_debug_toolbar" lines? Don't know. If you use waitress instead, you won't get any lines. > [console ready] > >>> import logging > >>> sorted(logging.Logger.manager.loggerDict.keys()) ['akhet', 'akhet.demo', > >>> 'akhet.demo.views', 'beaker', 'beaker.container', 'beaker.ext', > >>> 'beaker.ext.database', 'beaker.ext.google', 'beaker.ext.sqla', > >>> 'chameleon', 'chameleon.compiler', 'chameleon.config', > >>> 'chameleon.loader', 'chameleon.parser', 'chameleon.template', > >>> 'pyramid_debugtoolbar' ] > > None of these look plausable, and I don't see anything in > wsgiref.simple_server, pyramid.paster, or pyramid.router that would do > it. wsgiref definitely emits messages containing access log info. - C -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
