菜鸟请教,在线等待,答完结贴

关于网页的日志文件,我的日志目录下有下面三个文件access_log,access_log.processed,error_log。请问这三个文件里分别记录了什么?另外,请问对于不同的服务器系统生成的错误日志文件,它们的文件格式是不是都一样。文件内容:210.21.34.185 - - [24/Mar/2003:02:59:50 -0500] "GET / HTTP/1.1" 200 1305 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"

210.51.197.83 - - [21/Mar/2003:03:18:40 -0500] "GET / HTTP/1.1" 304 - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"

[Mon Mar 24 02:07:09 2003] [error] [client 210.83.203.100] File does not exist: /home/httpd/vhosts/www4.shareware-software.com/httpdocs/gowithmebaby@163

请指教小生这个很菜的问题,答完就结贴。在线等待。
---------------------------------------------------------------

我也不清楚,帮你顶。观注!
---------------------------------------------------------------

access_log:访问日志(客户的请求记录)
access_log.processed:现在好象与error_log合并了
error_log:运行错误和服务运行信息记录.
210.21.34.185 -[24/Mar/...0500] "GET /index.htm... HTTP/1.1" 200 1305 ....
访问者的IP 访问时间 方式. 请求的文件 协议 返回值 客户端
[Mon ...][error] [client 210.83.203.100] File does not.....
时间 类别 客户IP 信息
---------------------------------------------------------------

error_log:运行错误信息记录
当你的的浏览器在运行某个网页是出现类似server internal error
时候,在服务器段的error_log中会相应的出现一条记录

Published At
Categories with Web编程
Tagged with
comments powered by Disqus