开发者

ELMAH : Include POST request parameters in error report

开发者 https://www.devze.com 2022-12-19 23:27 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消