ELMAH : Include POST request parameters in error report
I want POST parameters passed in the request to be included in th开发者_Python百科e error report.
Turned out that form parameters are available in the XML report, and not shown in the detailed view to avoid cluttering the page.
Here is how I got the XML report.
Open Elmah (e.g. http://myapp.com/elmah.axd)
Click on Download Log (on the gray menu at the top of the page). The browser will prompt you the save a CSV file.
Open the CSV file in Excel.
Look for the column XMLREF
Use the URL to get the XML report for the page you are interested in.
精彩评论