how to Configure ELMAH for error logging in asp.net mvc

ELMAH stands for Error Logging Modules and Handlers providing application wide error logging facilities. ELMAH is pluggable and easy to implement without changing single line of code. ELMAH work as interceptor of unhandled dotnet exceptions, that display over yellow screen of death. As per Author you can dynamically add ELMAH on running asp.net application without recompile or re-deploy whole application.You can download ELMAH binaries from google code or if you are using nuget then visit ELMAH nuget page. In this article, I will integrate and setup ELMAH to asp.net MVC project. I will finish whole article in 5 different steps

InstallThe best way to install any module to Asp.net MVC project is to use Nuget package Console. You can visit ELMAH nuget page for get latest version command.Configure
After installing ELMAH , it will automatically update Web.Config file. If it's not so you can add following code to Web.Config file.