Skip to content

Commit 4c32c90

Browse files
authored
Merge pull request #128 from scaleapi/remove-log
fix: removing the request id logline
2 parents b8d924f + 0250bed commit 4c32c90

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/agentex/lib/sdk/fastacp/base/base_acp_server.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class RequestIDMiddleware(BaseHTTPMiddleware):
4646
async def dispatch(self, request: Request, call_next):
4747
# Extract request ID from header or generate a new one if there isn't one
4848
request_id = request.headers.get("x-request-id") or uuid.uuid4().hex
49-
logger.info(f"Request ID: {request_id}")
5049
# Store request ID in request state for access in handlers
5150
ctx_var_request_id.set(request_id)
5251
# Process request
@@ -389,4 +388,4 @@ def run(self, host: str = "0.0.0.0", port: int = 8000, **kwargs):
389388
"""Start the Uvicorn server for async handlers."""
390389
uvicorn.run(self, host=host, port=port, **kwargs)
391390

392-
391+

0 commit comments

Comments
 (0)