ELMAH: Enable POST Request Parameters in Error Report

I want the POST parameters passed in the request to be included in the error report.

+4
source share
2 answers

It turned out that the form parameters are available in the XML report and are not shown in the detailed view to avoid cluttering the page.

+5
source

This is how I got the XML report.

Open Elmah (e.g. http://myapp.com/elmah.axd )

Click "Download Journal" (in the gray menu at the top of the page). The browser will prompt you to save the CSV file.

Open the CSV file in Excel.

Look at the XMLREF column

Use the URL to get an XML report for the page you are interested in.

+1
source

Source: https://habr.com/ru/post/1301272/


All Articles