From: Ricardo Dias Date: Wed, 25 Sep 2019 14:19:50 +0000 (+0100) Subject: mgr/dashboard: disable cherrypy access and error log X-Git-Tag: v15.1.0~694^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c216bb120f5527bfeef5504b3ecddc2ae9681f92;p=ceph.git mgr/dashboard: disable cherrypy access and error log We already have a cherrypy tool to log accesses. Signed-off-by: Ricardo Dias --- diff --git a/src/pybind/mgr/dashboard/module.py b/src/pybind/mgr/dashboard/module.py index 3d1cca32d15..1815e23f0f9 100644 --- a/src/pybind/mgr/dashboard/module.py +++ b/src/pybind/mgr/dashboard/module.py @@ -130,6 +130,9 @@ class CherryPyConfig(object): cherrypy.tools.dashboard_exception_handler = HandlerWrapperTool(dashboard_exception_handler, priority=31) + cherrypy.log.access_log.propagate = False + cherrypy.log.error_log.propagate = False + # Apply the 'global' CherryPy configuration. config = { 'engine.autoreload.on': False,