babgvant / elmah

Automatically exported from code.google.com/p/elmah
Apache License 2.0
0 stars 0 forks source link

Include a request body content that is submitted with the requests in the error log #349

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What new or enhanced feature are you proposing?
This need came up recently although I am not 100% sure myself if ELMAH should 
be doing this. Figured to propose and see what the others think. I would like 
to see if ELMAH could log the content of the request BODY for the POST 
requests. It would display this in the error log page in a separate section 
after "Server Variables".

What goal would this enhancement help you achieve?
Certain API implementations take input parameters for the API method in the 
request body instead of the query string. This enhancements would display the 
parameters submitted in the body of the request when the error occurred.

Original issue reported on code.google.com by lai...@gmail.com on 27 Dec 2013 at 2:18

GoogleCodeExporter commented 8 years ago
As soon as I filed this, I dug in deeper and actually can see the data logged 
in the Form collection of the Error class. Please close this request as ELMAH 
is already doing what I have requested. Sorry about that. I do wonder why the 
Form collection is not displayed in the Elmah viewer and its error detail page. 
Is there any particular reason for that?

Original comment by lai...@gmail.com on 27 Dec 2013 at 2:32

GoogleCodeExporter commented 8 years ago

Original comment by azizatif on 27 Dec 2013 at 5:20