DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Diffrenet Methods To Logging In MVC 3.0

12.19.2011
| 2930 views |
  • submit to reddit
        Logging is one of the most useful services that every production website should have.

When errors occur on your website you should be notified about them. Whilst you may think you have written perfect code and unit tested everything to the best of your ability errors can and will still happen. The database server may go down, a 3rd party website may be offline, the shared hosting environment of your website may suffer an outage, a previously undetected bug may occur and the list goes on.

Having a great logging system in place allows you to stay on top of errors when they do happen.

In this series we will be building a logging reporting system that will allow you to drill into the various events that get logged on your website.

Following are the different Logging Module
 MVC Logging Part 1 – Elmah [http://dotnetdarren.wordpress.com/logging-on-mvc-part-1]
 MVC Logging Part 2 – Health Monitoring [http://dotnetdarren.wordpress.com/logging-in-mvc-part-2-health-monitoring]
 MVC Logging Part 3 – NLog [http://dotnetdarren.wordpress.com/logging-in-mvc-part-3-%E2%80%93-nlog]
 MVC Logging Part 4 – Log4Net [http://dotnetdarren.wordpress.com/logging-in-mvc-part-4-log4net]
 MVC Logging Part 5 – Model and Data Layer [http://dotnetdarren.wordpress.com/logging-in-mvc-part-5-the-model-and-data-layer]

<a href="http://www.java-forums.org/java-software/"><strong>Java Software</strong></a>