Is there any option on the Bottle side that can keep servers like WSGIRef and Paste from outputting a line for every request received?
NB: I know there's a quiet option, but I don't want the entire appication to be silent, just the request log.
It gets very messy very quickly, especially considering that I'd like to print debug information now and then and it just gets lost in the chaos. Here's the output for a single page-load, and it'll probably get a lot bigger when my project grows a little:
Bottle server starting up (using WSGIRefServer())... Listening on http://0.0.0.0:8080/ Hit Ctrl-C to quit. localhost - - [28/Jul/2012 04:05:59] "GET /clients HTTP/1.1" 200 3129 localhost - - [28/Jul/2012 04:05:59] "GET /static/css/main.css HTTP/1.1" 304 0 localhost - - [28/Jul/2012 04:05:59] "GET /static/js/jquery-1.7.2.js HTTP/1.1" 304 0 localhost - - [28/Jul/2012 04:05:59] "GET /static/js/jquery.cookie.js HTTP/1.1" 304 0 localhost - - [28/Jul/2012 04:05:59] "GET /static/js/jquery.qtip.min.js HTTP/1.1" 304 0 localhost - - [28/Jul/2012 04:05:59] "GET /static/js/showdown.js HTTP/1.1" 304 0 localhost - - [28/Jul/2012 04:05:59] "GET /static/js/proj.js HTTP/1.1" 304 0 localhost - - [28/Jul/2012 04:05:59] "GET /static/css/reset.css HTTP/1.1" 304 0 localhost - - [28/Jul/2012 04:06:00] "GET /static/images/flag_gb.png HTTP/1.1" 304 0 localhost - - [28/Jul/2012 04:06:00] "GET /static/images/flag_no.png HTTP/1.1" 304 0 localhost - - [28/Jul/2012 04:06:00] "GET /static/images/icon_add.png HTTP/1.1" 304 0 localhost - - [28/Jul/2012 04:06:00] "GET /favicon.ico HTTP/1.1" 404 742
grep -Ev '(GET|POST)'- jordanmgrep, as well as a lot of other useful tools, is also available on Windows as part of unxutils. - Helgi