views:

54

answers:

1

ELMAH shows host, code, type, error, user, date and time by default on its error log web page. Is there any way to configure it and show other fields like IP or REFERER?

elmah output example

+1  A: 

ELMAH is open-source. You can download the source and make any modifications you like (within the terms of the license, of course.)

You should be able to trap any data made available by the HttpConext.Request object. You'd have to modify the code that grabs and stores the data, and the database to make columns for that new data.

Dave Swersky
i will modify the source if i have to. i was hoping there was a built-in way to configure the displayed fields
qntmfred
I don't think there is any way to make those changes through configuration, you'd have to modify the source.
Dave Swersky