Use a single Elmah.axd for multiple applications with one database log

We have one SQL log to store errors from multiple applications. We have disabled the elmah.axd page for each of our applications and would like to have a new application that specifically displays errors from all applications reporting errors in the general SQL log.

Currently, although the application uses a common SQL log for all errors, it only displays errors from the current application. Has anyone done this before? What might need to be changed in elma code?

+23
source share
3 answers

, "SQL Log" MSSQL Server... , , , , - , SQL Server, .

, DLL ELMAH ELMAH_GetErrorsXML proc , proc WHERE [Application] = @Application.

WHERE proc ELMAH_GetErrorsXML, .

, proc ELMAH_GetErrorXML, .

, , , , , , .

CAVEAT: , ...

+30

Elmah factory, Elmah . , , MySql: http://diagnettoolkit.codeplex.com/releases/view/103931. , , .

+4

, . Elmah/Default.aspx. , - .

+2

All Articles