diff --git a/example_webapp.py b/example_webapp.py index 4412e9a..251ad04 100644 --- a/example_webapp.py +++ b/example_webapp.py @@ -45,4 +45,9 @@ def hello(req, resp): #logging.basicConfig(level=logging.DEBUG) app = picoweb.WebApp(__name__, ROUTES) -app.run(debug=True) +# debug values: +# -1 disable all logging +# 0 (False) normal logging: requests and errors +# 1 (True) debug logging +# 2 extra debug logging +app.run(debug=1)