如何在启用ssl的情况下获得Apache httpd响应时间

时间:2012-12-13 06:00:50

标签: ssl apache mod-ssl

我的httpd.conf有

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T/%D" combined

我在access_log

中记录了以下信息

10.xxx.xxx.xxx - uid [10/Dec/2012:21:52:20 -0800] "GET /file.ext HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0" 0/2105

我特别想在microsec中寻找服务器请求的时间。

当我尝试使用mod_ssl启用相同的LogFormat时,我在访问日志中没有获得相同的所需信息。

httpd-ssl.conf has ' LogFormat "%U %T/%D" timediff '

但我只在ssl_access_log

中看到以下信息

10.xxx.xxx.xxx - uid [10/Dec/2012:21:46:00 -0800] "GET /file.ext HTTP/1.1" 200 2742

专家可以帮助我吗?

0 个答案:

没有答案
相关问题