Skip to content

Commit cfefdb5

Browse files
authored
Removed redundant request id from request received message (#333)
1 parent d1f1212 commit cfefdb5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

data_hub_api/utils/fastapi.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ async def log_requests(request, call_next):
3333

3434
LOGGER.info(
3535
'%s',
36-
f'Received request: {request_id} {client_addr} "{method} {path} HTTP/{protocol}"'
37-
f' "{user_agent}"'
36+
f'Received request: {client_addr} "{method} {path} HTTP/{protocol}" "{user_agent}"'
3837
)
3938

4039
response = await call_next(request)

0 commit comments

Comments
 (0)