I suggest you ...

Better request and exception logging

As it exists now, request logging only logs valid requests.
Request Logging:

It does not log the request if the request is denied for Endpoint Restriction.
It does not log the request if the request is denied because a route could not be matched (say a parameter was missing, etc).
It does not log valid requests that are 'in process' - ones that request has been received, but response not sent yet.

Essentially I would like to see every request sent to the service to be logged in some fashion.

As far as exceptions go, you have some pretty nice logging right now. However, it does not log anything about the request. I would like to see where the request came from, url, get/put/post/method, contents of what was posted, etc. Essentially everything I need. As it is now, I have to use fiddler debugger or something to get this done. Would be nice if the logging output the information.

31 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Wayne BrantleyWayne Brantley shared this idea  ·   ·  Admin →

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Wayne BrantleyWayne Brantley commented  · 

        From our other conversation, you wanted to know exactly what else to log. I would say log everything fhat requestlogger outputs as a start.

        To be clear, this is all around what is logged when an exception occurs.

      • Wayne BrantleyWayne Brantley commented  · 

        I am using the request logger. However, it does not log all requests. I listed above a sample of what the request log feature does not show. (Note I am saying what actual requests are filtered out completely from the RequestLogsFeature - not simply 'missing data from the request'.)

      Feedback and Knowledge Base