vijayamadhavareddy / elmah

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

use Elmah like a generic site-use logger and include FBA Roles information #96

Closed GoogleCodeExporter closed 9 years ago

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

It would be great to be able to use Elmah like a generic site-use logger
and include FBA Roles information.

-- What goal would this enhancement help you achieve?

This would provide us a one-stop tool to log data, etc, 

As of now, this can be done by simply throwing an error; but, it is clumsy
to include additional information because that Error.Message is actually
the title used for the error-detail page, which looks odd if it is longer
than long, and etc.

Original issue reported on code.google.com by mkamo...@gmail.com on 5 May 2009 at 5:58

GoogleCodeExporter commented 9 years ago
This issue reports two distinct enhancements:

1. use Elmah like a generic site-use logger
2. include FBA Roles information 

This issue is being closed as "won't fix" on the basis of 1. Turing ELMAH into 
a generic site-use logger is a complete departure from its original intent and 
risks leading to bloat through feature creep. You should use a general-purpose 
logger instead and there are plenty of those available on the .NET platform.

Inclusion of Forms-based authentication (FBA) roles or generally user roles via 
RoleProvider.GetRolesForUser could be useful to help diagnose an error. If this 
is still interesting, please open it as a separate enhancement request.

Original comment by azizatif on 27 Feb 2012 at 9:14