Skip to content

Commit 7e7613d

Browse files
committed
Include ua= in "Request completed" lines, too
1 parent 881a434 commit 7e7613d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/app/factory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ async def log_requests(request: Request, call_next):
108108
"path": str(request.url.path),
109109
"status_code": status_code,
110110
"duration_ms": duration_ms,
111+
"user_agent": request.headers.get("user-agent"),
111112
"error": error,
112113
},
113114
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy