Python Cherrypy: Disable logging of requests
cherrypy, python
Solution
Apparently, telling CherryPy to stop logging doesn't actually do anything when you've independently configured Python's `logging` module. The solution is to do this:
cherrypy.log.error_log.propagate = False
cherrypy.log.access_log.propagate = False
(Hat tip to this blog post, which is unfortunately now down.)
Problem
I'm trying to silence the logging of http requests from CherryPy. I've tried ``` cherrypy.log.access_file = None ``` which as I understand it should remove the handler for access logging, but I can't seem to get it to work.