WebLogic访问日志的格式

 

 

通常在bea/user_projects/domains/XXXDomain/servers/AdminServer/logs目录下,文件名为access.log。

通常还有access.log00001、access.log00002、access.log00003等好几十个文件,这些文件是access.log的一个循环日志。

 

打开access.log,可见如下纪录

 

 

其格式为:

访问者IP RFC931  auth_user [访问时间]  "请求方式(GET/POST等) 访问地址 访问协议(通常为HTTP/1.1)" 返回代码(200表示成功) 返回数据的字节数大小

 

 

以下是英文版:

 

Using Common Log format
The default format for logged HTTP information is the common log format. This standard format follows the pattern: 

host RFC931  auth_user  [day/month/year:hour:minute:second UTC_offset] "request" status bytes


host:         Either the DNS name or the IP number of the remote client 
RFC931:    Any information returned by IDENTD for the remote client; WebLogic does not support user identification 

auth_user:If remote client user sent a userid for authentication, the user name; otherwise "-" 

day/month/year:hour:minute:second UTC_offset Day, calendar month, year and time of day (24-hour format) with the hours difference between local time and GMT, enclose in square brackets 
request:    First line of the HTTP request submitted by the remote client enclosed in double quotes 
status:      HTTP status code returned by the server, if available; otherwise "-" 
bytes:       Number of bytes listed as the content-length in the HTTP/1.0 header, not including the HTTP/1.0 header, if known; otherwise "-"

 

英文说明可参考:

http://cn.forums.oracle.com/forums/thread.jspa?threadID=914964&tstart=30

 

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值