Skip to content

Commit

Permalink
Change gunicorn loglevel to error (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
asriniva authored Apr 23, 2021
1 parent 6277270 commit 22d7bb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/functions_framework/_http/gunicorn.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tests/test_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 22d7bb2

Please sign in to comment.