Closed mrdc closed 3 years ago
Hello, I have the same issue.
Access logs are generated by the server implementation, not by bottle. The wsgiref development server emits logs by default, cheroot does not, apparently. Refer to the cheroot documentation on how to activate access logs.
Not possible I guess : https://github.com/cherrypy/cheroot/issues/89
Check out https://stackoverflow.com/a/31093434/3633154
This is what I do
There's also decent WSGI middleware for doing logging. When using Cheroot with Bottle, I usually use https://pypi.org/project/wsgi-request-logger/ for request logging.
Hello,
Is it correct behavior that there is no output to console when using, for example, cheroot as backend?
run(host='0.0.0.0', port=8900, server='cheroot', debug=False)
I see in console only this: