diff --git a/acceptance_tests/waitress_app/Dockerfile b/acceptance_tests/waitress_app/Dockerfile index ac659d61..69f21030 100644 --- a/acceptance_tests/waitress_app/Dockerfile +++ b/acceptance_tests/waitress_app/Dockerfile @@ -55,6 +55,7 @@ ENV \ LOG_TYPE=console \ OTHER_LOG_LEVEL=WARNING \ WAITRESS_LOG_LEVEL=WARNING \ + WSGI_LOG_LEVEL=INFO \ SQL_LOG_LEVEL=WARNING \ C2CWSGIUTILS_LOG_LEVEL=WARNING \ LOG_LEVEL=INFO \ diff --git a/acceptance_tests/waitress_app/production.ini b/acceptance_tests/waitress_app/production.ini index 595b7c54..ec13a035 100644 --- a/acceptance_tests/waitress_app/production.ini +++ b/acceptance_tests/waitress_app/production.ini @@ -51,7 +51,7 @@ clear_untrusted_proxy_headers = False ### [loggers] -keys = root, waitress, sqlalchemy, c2cwsgiutils, c2cwsgiutils_app +keys = root, waitress, wsgi, sqlalchemy, c2cwsgiutils, c2cwsgiutils_app [handlers] keys = console, json @@ -68,6 +68,12 @@ level = %(WAITRESS_LOG_LEVEL)s handlers = qualname = waitress +# Waitress access logs +[logger_wsgi] +level = %(WSGI_LOG_LEVEL)s +handlers = +qualname = wsgi + # "level = INFO" logs SQL queries. # "level = DEBUG" logs SQL queries and results. # "level = WARNING" logs neither. (Recommended for production systems.)