Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When are incoming requests logged to file in IIS? Does it happen before or after they are processed and response is sent to the client? What happens in case if request is accepted but response isn't sent back (is the incomming request logged to file in this scenario)?

share|improve this question
up vote 2 down vote accepted

The request is logged after the response has been prepared (you have the ability to modify the data that will be logged, under your request).

It will be logged even during errors, even though some errors might end up in the HTTPERR-folder (by default under C:\windows\system32\LogFiles\HTTPERR), and I think that certain request might only show up there.

I had an issue where a firewall with http inspection would cut a connection that stalls for more than 2 minutes, and since the request failed with "broken pipe" sort of error, I think that only showed up in that error log with status 995.

IIS aborts request thread with status 995

share|improve this answer
Thanks you for clarification. I have now an issue with my web application that accepts every request EXCEPT one specific path and I can't see requests to that path in any logs, not even in HTTPERR which led me to question if there can be a situation where response processing went wrong and therefore requests won't show up in logs. – yojimbo87 Oct 22 '12 at 13:26
Actually I was looking in the wrong folder for HTTPERR and now I can see the errors :). – yojimbo87 Oct 22 '12 at 13:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.