默认情况下,是否会在HttpErr日志中显示所有出现在HttpErr日志中的请求? [英] Will all requests that appear in HttpErr logs also appear in the IIS logs, by default?

查看:60
本文介绍了默认情况下,是否会在HttpErr日志中显示所有出现在HttpErr日志中的请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在维护一个似乎在HttpErr日志中生成大量连接丢失错误的网站.我正在尝试将HttpErr日志中的错误与IIS日志中的日志条目进行匹配,以查看我可以收集哪些其他信息(例如,花费的时间,响应状态代码).

I'm maintaining a website that seems to be generating a lot of connection dropped errors in the HttpErr logs. I'm trying to match up the errors in the HttpErr logs with log entries in the IIS logs, to see what additional information I can glean (eg time taken, response status code).

我无法将HttpErr日志中的记录与IIS日志中的相应请求进行匹配.尽管我可以在两个日志中看到来自同一IP地址的请求,但是两个日志中的时间戳似乎并不完全匹配.结果,我无法确定IIS日志中的请求是否对应于HttpErr日志中的错误,或者它们是否表示同一用户对同一页面的两个不同请求.

I'm having trouble matching up records in the HttpErr logs with the corresponding requests in the IIS logs. Although I can see requests from the same IP address in both logs, there seems to be no exact match between the timestamps in the two logs. As a result I can't be sure if a request in the IIS log corresponds to an error in the HttpErr log, or whether they represent two different requests to the same page by the same user.

我的问题是:在HttpErr日志中显示为连接断开错误的请求也会出现在IIS日志中吗?还是一种要么是要么是某种情况,其中已断开连接的请求被记录到HttpErr,而一个没有断开连接就完成的请求被记录到IIS日志中?

My question is: Will requests that appear as connection dropped errors in the HttpErr logs also appear in the IIS logs? Or is it an either/or situation, where a request that has the connection dropped is logged to HttpErr but one that completes without the connection being dropped is logged to the IIS logs?

我看了看ApplicationHost.config中的httpLogging元素,它没有selectionLogging属性.我了解这意味着IIS应该默认记录所有请求.但是,全部"真的意味着每个单独的请求,包括那些已断开连接的请求吗?

I've had a look at the httpLogging element in the ApplicationHost.config and that has no selectiveLogging attribute. I understand that to mean IIS should log all requests by default. However, does "all" really mean every single request, including those where the connection has been dropped?

推荐答案

HTTPErr.log文件是HTTP.SYS记录其消息的位置.那是在请求管道的IIS/网站阶段之前,因此您无法将HTTPerr.log文件条目与IIS的网站日志文件进行匹配.但是,几乎所有HTTPErr.log错误消息都表示脚本或站点错误,因此,最好对HTTPErr.log文件中出现的所有站点和脚本进行调查.

The HTTPErr.log files is where HTTP.SYS logs its messages. That is before the IIS/website stage of the request pipeline, so you cannot match HTTPerr.log file entries with IIS' website logfiles. However, almost any HTTPErr.log error message indicates a script or site error, therefor it's wise to investigate all sites and scripts that appear in the HTTPErr.log files.

Microsoft解释了 HTTPiis.net上的IIS中的请求处理" ,并且还提供了HTTP API日志.

Microsoft explains the HTTP Request Processing in IIS on iis.net and there is also documentation of the Kinds of errors that the HTTP API logs.

这篇关于默认情况下,是否会在HttpErr日志中显示所有出现在HttpErr日志中的请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆