|
|
|
@ -119,7 +119,7 @@ async def db_session_middleware(request: Request, call_next):
|
|
|
|
log_msg,
|
|
|
|
log_msg,
|
|
|
|
extra={
|
|
|
|
extra={
|
|
|
|
"method": request.method,
|
|
|
|
"method": request.method,
|
|
|
|
"path": request.path,
|
|
|
|
"path": request.url.path,
|
|
|
|
"status_code": response.status_code,
|
|
|
|
"status_code": response.status_code,
|
|
|
|
"duration_ms": round(process_time, 2),
|
|
|
|
"duration_ms": round(process_time, 2),
|
|
|
|
"user_id": user_id,
|
|
|
|
"user_id": user_id,
|
|
|
|
|