How to create Log for each request when IIS first time hit by requestRSS

1 reply

Last post Jan 21, 2015 09:34 AM by Perkinsville

  • How to create Log for each request when IIS first time hit by request

    Dec 16, 2014 12:57 AM|shivpati19|LINK

    How can I create Log file for a specific web application for below condition:

    1. Log for each request when it hits the IIS (time when request come).
    2. Log for each response when it goes out from the IIS (time when response goes)

    Need to develop custom module which makes Log file for each request when it hits first time IIS, so each request first hit my custom module then enters into IIS for further processing. After processing the request again it goes out from my custom log.

  • Re: How to create Log for each request when IIS first time hit by request

    Jan 21, 2015 09:34 AM|Perkinsville|LINK

    Hi,

    You might have a performance issue if you write to a log at the beginning and end of each request.

    Why can't you use the IIS logs request date time stamp and the time-taken to calculate the same?

    HTH, Benjamin