我在文件部分找到了额外的%D
选项。LogFormat
httpd.conf
LogFormat "%h %l %u %t %D \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t %D \"%r\" %>s %b" common
有人告诉我这是记录页面加载所用的时间。
这是对的吗?
我在文件部分找到了额外的%D
选项。LogFormat
httpd.conf
LogFormat "%h %l %u %t %D \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t %D \"%r\" %>s %b" common
有人告诉我这是记录页面加载所用的时间。
这是对的吗?
是的,这是正确的。有关更多选项,请参见以下站点:
http ://httpd.apache.org/docs/2.2/mod/mod_log_config.html