15 votes

This package is marked as retired

This package does not target a current version of Umbraco, and is no longer maintained.

Terabyte Elmah

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

  • Fixed detail view bug.

Screenshots

Package owner

Murray Roke

Murray Roke

Murray has 965 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions: 7.3.x

Package Information

  • Package owner: Murray Roke
  • Created: 08/12/2010
  • Current version 0.6
  • License MIT
  • Downloads on Our: 2K

External resources