Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python bottle framework - run in silent (non-verbose) mode - how?

I am learning to use the python bottle web framework. I have developed a simple app and I would like to suppress all the requests (urls) output on the terminal (though if there are any error msgs, their output should be ok). I tried setting the DEBUG to False, but that did not make any difference. Is there some other setting for this?

like image 600
G.A. Avatar asked Dec 21 '22 18:12

G.A.


1 Answers

This works for some servers (including wsgiref):

bottle.run(..., quiet=True)
like image 175
defnull Avatar answered Dec 23 '22 09:12

defnull