【发布时间】:2019-04-20 21:35:03
【问题描述】:
我正在使用 Apache 的 mod_logio https://httpd.apache.org/docs/2.4/mod/mod_logio.html 来调试 Ubuntu 上的一些慢速请求。
%^FB 显示“请求到达与 响应头的第一个字节被写入。”
我已在 apache2.conf 中打开它,并在我使用的日志格式中包含 %^FB。
LogIOTrackTTFB ON
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %^FB" myformat
时间包括在内,但仅限于 GET 请求。它不包含在 POST 请求中,也不包含在以下请求中: script src="requesturl"
有没有办法为 POST 和脚本 src 请求获取此信息?
【问题讨论】:
标签: apache