From dc01c8f20629b38faefab9bfa39a839c69cab18c Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 4 Jun 2018 12:58:54 -0700 Subject: [PATCH] Add cherrypy to built-in logging config Exceptions in zuul-web will be logged to cherrypy.error at ERROR level. Change-Id: Iac060974a3e56ffa871be897fbf75fb61032db0b --- zuul/ansible/logconfig.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zuul/ansible/logconfig.py b/zuul/ansible/logconfig.py index 7ef43a8a45..512e32c025 100644 --- a/zuul/ansible/logconfig.py +++ b/zuul/ansible/logconfig.py @@ -110,6 +110,10 @@ _DEFAULT_SERVER_LOGGING_CONFIG = { 'handlers': ['console'], 'level': 'INFO', }, + 'cherrypy': { + 'handlers': ['console'], + 'level': 'WARN', + }, }, 'root': {'handlers': []}, }