diff --git a/azure/functions/_http_asgi.py b/azure/functions/_http_asgi.py index 856c4d76..28a3deea 100644 --- a/azure/functions/_http_asgi.py +++ b/azure/functions/_http_asgi.py @@ -117,6 +117,7 @@ async def _receive(self): } async def _send(self, message): + logging.debug("Received %s from ASGI worker.", message) if message["type"] == "http.response.start": self._handle_http_response_start(message) elif message["type"] == "http.response.body": diff --git a/setup.py b/setup.py index c28b1aeb..69c8e2d0 100644 --- a/setup.py +++ b/setup.py @@ -7,6 +7,7 @@ EXTRA_REQUIRES = { 'dev': [ 'flake8~=4.0.1', + 'flake8-logging-format', 'mypy', 'pytest', 'pytest-cov',