Created
December 26, 2015 15:17
-
-
Save miklund/71730313857b8a88cb15 to your computer and use it in GitHub Desktop.
2009-05-28 Part 5: Easy error handling with ELMAH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Title: Part 5: Easy error handling with ELMAH | |
# Author: Mikael Lundin | |
# Link: http://blog.mikaellundin.name/2009/05/28/part-5-easy-error-handling-with-elmah.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<configuration> | |
<configSections> | |
<sectionGroup name="elmah"> | |
<section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah"/> | |
<section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" /> | |
<section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" /> | |
<section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah"/> | |
</sectionGroup> | |
</configSections> | |
<elmah> | |
<errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/App_Data" /> | |
</elmah> | |
<system.web> | |
<httpHandlers> | |
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" /> | |
</httpHandlers> | |
<httpModules> | |
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" /> | |
</httpModules> | |
</system.web> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment