This package does not target a current version of Umbraco, and is no longer maintained.
This package add's Elmah exception logging to your site, and includes dashboard controls for viewing error logs. This means you can use umbraco backoffice admin login to authenticate before viewing the logs. YAY.
Elmah is found here: http://code.google.com/p/elmah/
In this version, all the configuration file changes will need to be made manually, this is something I may get the package installer to do if enough people want it, and if I find the time.
I have removed some files which Elmah normally comes with; .pdb, .xml and VistaDB library, if you want to use any of these you should download the elmah binaries and add them to your project.
http://code.google.com/p/elmah/downloads/list
This setup supplies a default configuration using SQLite for x86 for furthur configuration options visit the elmah website, also consider updating elmah DLLs to latest version.
Add these elements to your /config/dashboard.config
<section>
<areas>
<area>developer</area>
</areas>
<tab caption="Error Log">
<control>/umbraco/plugins/Terabyte/Elmah/Elmah.ascx</control>
</tab>
</section>
Add these elements to your /web.config
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="elmah">
<section name="security" type="Elmah.SecuritySectionHandler, Elmah"/>
<section name="errorLog" type="Elmah.ErrorLogSectionHandler, Elmah"/>
<section name="errorMail" type="Elmah.ErrorMailSectionHandler, Elmah"/>
<section name="errorFilter" type="Elmah.ErrorFilterSectionHandler, Elmah"/>
</sectionGroup>
</configSections>
<elmah>
<security allowRemoteAccess="no"/>
<errorLog type="Elmah.SQLiteErrorLog, Elmah" connectionStringName="ELMAH.SQLite"/>
<!--<errorMail from="[email protected]" to="[email protected]" priority="Normal" />-->
<errorFilter>
<test>
<equal binding="HttpStatusCode" value="404" type="Int32"/>
</test>
</errorFilter>
</elmah>
<connectionStrings>
<add name="ELMAH.SQLite" connectionString="Data Source=~/App_Data/elmahDatabase.s3db.config" />
</connectionStrings>
<system.web>
<httpModules>
<!-- ELMAH -->
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah"/>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/>
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah"/>
</httpModules>
<httpHandlers>
<add verb="POST,GET,HEAD" path="/elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah"/>
</httpHandlers>
</system.web>
<system.webServer>
<modules>
<add name="Elmah.ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" />
<add name="Elmah.ErrorFilter" type="Elmah.ErrorFilterModule" preCondition="managedHandler" />
<add name="Elmah.ErrorMail" type="Elmah.ErrorMailModule" preCondition="managedHandler" />
</modules>
<handlers>
<add name="Elmah" path="elmah.axd" verb="POST,GET,HEAD" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" />
</handlers>
</system.webServer>
</configuration>
Revision History
v0.6