Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 1 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
add comment

Your Answer

 
discard

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.