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)?

1 Answer 1


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

  • 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, 2012 at 13:26
  • Actually I was looking in the wrong folder for HTTPERR and now I can see the errors :).
    – yojimbo87
    Oct 22, 2012 at 13:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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