日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Lighttpd日志打印格式

發布時間:2024/4/17 编程问答 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Lighttpd日志打印格式 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

檢查lighttpd打印的日志時,有些字段意義模糊,就找了個對照說明,備份一下

原文地址:http://redmine.lighttpd.net/projects/1/wiki/Docs_ModAccesslog?

OptionDescription
%%a percent sign
%hname or address of remote-host
%lident name (not supported)
%uauthenticated user
%ttimestamp of the end-time of the request
%rrequest-line
%sstatus code
%bbytes sent for the body
%iHTTP-header field
%aremote address
%Alocal address
%Bsame as %b
%Ccookie field (not supported)
%Dtime used in ms (not supported)
%eenvironment
%fphysical filename
%Hrequest protocol (HTTP/1.0, ...)
%mrequest method (GET, POST, ...)
%n(not supported)
%o`response header`_
%pserver port
%P(not supported)
%qquery string
%Ttime used in seconds
%Urequest URL
%vserver-name
%VHTTP request host name
%Xconnection status
%Ibytes incomming
%Obytes outgoing

?文中的一些注意

If %s is written %>s or %<s the < and the > are ignored. They are supported for compatibility with apache.

%h will always return the IP address of the host, never the name. This makes it equivalent to %a, which is not implemented.

%a, %A, %{name}C, %D are all unimplemented as of 1.4.26 and 1.5.0-r2700

%i and %o expect the name of the field which should be written in curly brackets.

%q is not prepended with '?', unlike Apache

%{StrFTime format string}t is supported since 1.4.24.

%t does not work the same way it works in Apache (where the start of the request is recorded). Instead it shows the time the request actually got delivered. This is done due to performance reasons. For most users this does not matter as usually requests don't take long to get processed. In case you want to find out the time the request was started add the %T option to your log-string and subtract it's value from the time shown by %t.

?

轉載于:https://www.cnblogs.com/zhaobolu/p/4283879.html

總結

以上是生活随笔為你收集整理的Lighttpd日志打印格式的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。