Add cherrypy to built-in logging config

Exceptions in zuul-web will be logged to cherrypy.error at ERROR
level.

Change-Id: Iac060974a3e56ffa871be897fbf75fb61032db0b
This commit is contained in:
James E. Blair 2018-06-04 12:58:54 -07:00
parent fcd468d5d6
commit dc01c8f206
1 changed files with 4 additions and 0 deletions

View File

@ -110,6 +110,10 @@ _DEFAULT_SERVER_LOGGING_CONFIG = {
'handlers': ['console'],
'level': 'INFO',
},
'cherrypy': {
'handlers': ['console'],
'level': 'WARN',
},
},
'root': {'handlers': []},
}