diff --git a/src/functions_framework/_http/gunicorn.py b/src/functions_framework/_http/gunicorn.py index 163b5317..48714284 100644 --- a/src/functions_framework/_http/gunicorn.py +++ b/src/functions_framework/_http/gunicorn.py @@ -22,6 +22,7 @@ def __init__(self, app, host, port, debug, **options): "workers": 1, "threads": 8, "timeout": 0, + "loglevel": "error", } self.options.update(options) self.app = app diff --git a/tests/test_http.py b/tests/test_http.py index 6590566a..e45dbab9 100644 --- a/tests/test_http.py +++ b/tests/test_http.py @@ -99,6 +99,7 @@ def test_gunicorn_application(debug): "workers": 1, "threads": 8, "timeout": 0, + "loglevel": "error", } assert gunicorn_app.cfg.bind == ["1.2.3.4:1234"]