The ELMAH Schema

Disclamer: Configuring ELMAH (as well as elmah.io) happens through your application configuration file (like web.config). In the next version of ASP.NET, web.config files are removed, but web.config files will probably continue to exist for years to come.

Both ELMAH and elmah.io automatically adds configuration to web.config during installation of the NuGet package, but you may want to edit the ELMAH configuration from time to time. Since Visual Studio doesn't provide IntelliSense for non-Microsoft configuration, you will need to look in the ELMAH documentation when needing to configure ELMAH.

We are happy to report that we've taken ownership of the ELMAH Configuration XML Schema. Drop the XML Schema anywhere in your project and add a namespace to your elmah element:

<elmah xmlns="http://Elmah.Configuration">
</elmah>

That's it! Start adding some config:

IntelliSense in ELMAH config

The ELMAH XML Schema has its own repository on GitHub and we already started adding support for third-party error loggers for ELMAH. Please create a pull request if you want to add support for your error log extension.

elmah.io: Error logging and Uptime Monitoring for your web apps

This blog post is brought to you by elmah.io. elmah.io is error logging, uptime monitoring, deployment tracking, and service heartbeats for your .NET and JavaScript applications. Stop relying on your users to notify you when something is wrong or dig through hundreds of megabytes of log files spread across servers. With elmah.io, we store all of your log messages, notify you through popular channels like email, Slack, and Microsoft Teams, and help you fix errors fast.

See how we can help you monitor your website for crashes Monitor your website