shabbirh / elmah

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

Include Error.Hostname in ErrorMailHtmlPage.cshtml #301

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What new or enhanced feature are you proposing?

Include the actual host on which the error occurred in the error email.
This would be the Error.Hostname (as logged to SQL, etc), which can differ from 
the values reported in server variables.

What goal would this enhancement help you achieve?

In a web-farm application, ease the diagnosis of what server had the error. 
Currently this is possible via looking up the logged data in SQL (The 
error/host element), or by looking up the LOCAL_ADDR server variable reported 
in the email.
Both of which take longer than if it was included in the email.

What do you think?

Original issue reported on code.google.com by laa...@gmail.com on 19 Jul 2012 at 4:25

GoogleCodeExporter commented 9 years ago

Original comment by azizatif on 25 Jul 2012 at 6:20