starknet_transaction_prover: per-request structured log with request-id#14165
starknet_transaction_prover: per-request structured log with request-id#14165avi-starkware wants to merge 1 commit into
Conversation
Adds `RequestLogLayer` that emits one `event="http_request"` log line per request with request_id, method, path, status, and latency_ms. The id is accepted from `x-request-id` or generated as a 128-bit random hex string, and is echoed back on the response so callers can quote it. No request body bytes are inspected (transaction calldata is private user data). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
PR SummaryLow Risk Overview The layer accepts a client Exports Reviewed by Cursor Bugbot for commit f7733b4. Bugbot is set up for automated code reviews on this repo. Configure here. |

Adds
RequestLogLayerthat emits oneevent="http_request"log line perrequest with request_id, method, path, status, and latency_ms. The id is
accepted from
x-request-idor generated as a 128-bit random hex string,and is echoed back on the response so callers can quote it. No request
body bytes are inspected (transaction calldata is private user data).
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com