How do I prevent Python Bottle from alerting every console request?
I am starting a server using Python Bottle. It works fine, but it logs every single request it processes in the console, which makes it slower. Is there a way to instruct him not to have these logs on the console?
Sample code:
from bottle import route, run
@route('/')
def index():
return 'Hello, world!'
run(host = 'localhost', port = 8080)
Sample output (which I get every time a request is made to localhost:8080/
):
127.0.0.1 - - [06/Jun/2015 11:23:24] "GET / HTTP/1.1" 200 244
+3
source to share