We have integrated ELMAH with ASP.NET MVC 3, as a way to log application errors. However, we do not yet persist the log. To this end, we'd like to store ELMAH's log entries in MySQL, as we're already using an instance of this database server for other purposes.
How do we configure ELMAH so that it persists its log with MySQL?
You can install the NuGet package ELMAH on MySQL
PM> Install-Package elmah.mysql
You have to configure that. from Elmah.MySql.txt which is part of the package.
Please note that in order to complete the installation of ELMAH.MySql you will have to do the following:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With